L1 Regularization (Lasso)

Also known as: Lasso, L1 Penalty

Category: Foundations of ML/AI

A regularization technique that adds the sum of absolute values of model weights as a penalty to the loss function, encouraging sparsity.

Full Explanation

L1 regularization, also known as Lasso (Least Absolute Shrinkage and Selection Operator), adds a penalty equal to the sum of the absolute values of the model weights to the loss function. This penalty encourages many weights to become exactly zero, effectively performing feature selection by eliminating irrelevant inputs. L1 regularization produces sparse models that are easier to interpret and can reduce computational requirements. It is particularly useful when the dataset has many features but only a few are truly relevant. In contrast to L2 regularization, which distributes weight reduction across all parameters, L1 drives individual weights to zero. L1 regularization is widely used in linear models and can be combined with L2 in elastic net regularization.

Related Terms

More in Foundations of ML/AI

Explore More