Estimating a model like linear regression is called “fitting the model”or “training the model.”
To say a machine “learns” from data means its parameters are estimated from the data.
The predictors (x variables) are called features.
\[R^2 = 1 - \frac{\sum (y_i - \hat y_i)^2}{\sum (y_i - \bar{y})^2}\]
Ask Julius to vary the penalty parameter (called alpha) in ridge regression and to report the scores on the training and test data.