Train Ridge regression with gradient descent, L2-regularized weights, and an unregularized bias term.