Sunday, January 8, 2017

Lasso, Ridge & ElasticNet

Lasso: L1 penalty
Ridge: L2 penalty
ElasticNet: L1 & L2 penalty


Keep in mind that ridge regression can't zero out coefficients; thus, you either end up including all the coefficients in the model, or none of them. In contrast, the LASSO does both parameter shrinkage and variable selection automatically. If some of your covariates are highly correlated, you may want to look at the Elastic Net [3] instead of the LASSO.

No comments:

Post a Comment