What is the main difference between Ridge and Lasso regularization?

  • Both use L1 penalty
  • Both use L2 penalty
  • Ridge uses L1 penalty, Lasso uses L2 penalty
  • Ridge uses L2 penalty, Lasso uses L1 penalty
Ridge regularization uses an L2 penalty, which shrinks coefficients but keeps them non-zero, while Lasso uses an L1 penalty, leading to some coefficients being exactly zero.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *