Loading [MathJax]/extensions/TeX/boldsymbol.js

 

 

 

Ridge Regression

For Ridge regression our cost function is

C(\boldsymbol{\beta})=\sum_{i=0}^{p-1}(y_i-\beta_i)^2+\lambda\sum_{i=0}^{p-1}\beta_i^2,

and minimizing we have that

\hat{\beta}_i^{\mathrm{Ridge}} = \frac{y_i}{1+\lambda}.