Lasso

lassovariable-selectionshrinkageregressionsparsity

Definition

The lasso ("least absolute shrinkage and selection operator"; Tibshirani 1996) is a penalized-regression estimator that adds an 1\ell_1 penalty on the coefficients to ordinary least squares: β^=argminβi(yijxijβj)2+λjβj,\hat\beta = \arg\min_\beta \sum_{i}\Big(y_i - \textstyle\sum_j x_{ij}\beta_j\Big)^2 + \lambda\sum_j|\beta_j|, equivalently minimizing the residual sum of squares subject to jβjt\sum_j|\beta_j|\le t. Because the absolute-value penalty has non-differentiable corners on the coordinate axes, the lasso sets some coefficients exactly to zero — performing continuous shrinkage and variable selection simultaneously, a combination that neither ridge regression (no zeros) nor subset selection (unstable) achieves alone.

Key Ideas

How It Works

Elastic net (Zou-Hastie 2005)

The elastic net adds a ridge (2\ell_2) term to the lasso penalty: β^=argminβyXβ2+λ1β1+λ2β22\hat\beta=\arg\min_\beta \|y-X\beta\|^2 + \lambda_1\|\beta\|_1 + \lambda_2\|\beta\|_2^2 (equivalently a mixing parameter α\alpha between pure lasso and pure ridge). It was introduced to cure two lasso deficiencies:

Why It Matters

Open Questions

Related