Learn Before
Ridge Regression
In ridge regression, the model coefficients and bias are learned using the least-squares criterion with an added penalty for large coefficients. The parameters are found by minimizing an objective function that includes a tuning parameter (often denoted as or ) to control the strength of this penalty term. Once the parameters are learned, the prediction formula is the same as in ordinary least squares (OLS).
Ridge regression uses regularization (weight decay), which adds the sum of the squared coefficients to the residual sum of squares (RSS):
A higher tuning parameter ( or ) results in more regularization and a simpler model. Ridge regression is especially useful when the number of predictor variables is greater than the number of observations. Because the penalty term is sensitive to the scale of the variables, predictors should usually be standardized before applying ridge regression.
0
2
Tags
Data Science
D2L
Dive into Deep Learning @ D2L