Optimal ridge regularization revisited