Elastic Net

Category: Foundations of ML/AI

A regularization technique that combines L1 and L2 penalties to balance sparsity and weight shrinkage.

Full Explanation

Elastic Net regularization combines both L1 and L2 penalty terms in the loss function, controlled by a mixing parameter that determines the relative contribution of each. This hybrid approach inherits the benefits of both methods: L1's ability to perform feature selection through sparsity and L2's capacity to handle correlated features gracefully. When features are highly correlated, pure L1 tends to arbitrarily select one feature from a group, while elastic net can retain all correlated features with reduced weights. Elastic net is particularly effective for high-dimensional datasets with grouped feature structures. It has become a standard option in linear model libraries like scikit-learn and glmnet. The technique generalizes both Lasso and Ridge as special cases.

Related Terms

More in Foundations of ML/AI

Explore More