Ridge regression and Lasso
Ridge regression
Linear regression is a good choice when we have lots of training data. When we try to minimize with higher value of of , it will result in lower 's. Increasing results in less weight for training data. In reality, we can vary and choose a value for which the test error is minimum.
In case of Ridge regression also, we have a closed form solution:
Lasso
Similar to Ridge regression:
It has some advantages, like it produces sparse matrix (lots of zero elements).