Overview
Lasso Regression adds an L1 penalty to squared error, which can perform feature selection by shrinking weak coefficients to zero.
Fits a linear model while encouraging some weights to become exactly zero.
Compact metadata for implementation and discovery.
Lasso Regression adds an L1 penalty to squared error, which can perform feature selection by shrinking weak coefficients to zero.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n d)
Average
O(k n d)
Worst
O(k n d)
Space
O(d)
loss = mean((y - Xw)^2) + lambda * sum(abs(w_i))Adds an L1 penalty that can produce exact zero coefficients.
Show coefficients shrinking, with small ones reaching zero as lambda increases.
Lasso Regression operates in O(k n d) time and O(d) space within the Regularized Linear Model family. Key governing relation: loss = mean((y - Xw)^2) + lambda * sum(abs(w_i)). Often compared with Linear Regression and Ridge Regression.
What each reference supports for this entry.
Statistical learning reference for the model family and tradeoffs of Lasso Regression.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Machine Learning · Foundation
Lasso regression adds L1 regularization to linear regression.
Compare with thisMachine Learning · Core
Lasso encourages sparsity while Ridge shrinks coefficients smoothly.
Compare with thisOptimization · Core
Coordinate descent is commonly used for sparse regression objectives.
Compare with thisElastic Net combines Lasso-style and Ridge-style penalties.
Lasso regression adds L1 regularization to linear regression.
Lasso encourages sparsity while Ridge shrinks coefficients smoothly.