Overview
Elastic Net blends Lasso and Ridge penalties, making it useful when features are numerous and correlated.
Combines L1 and L2 penalties for sparse but more stable linear models.
Compact metadata for implementation and discovery.
Elastic Net blends Lasso and Ridge penalties, making it useful when features are numerous and correlated.
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) + lambda1 * sum(abs(w_i)) + lambda2 * sum(w_i^2)Combines sparsity and coefficient shrinkage in one objective.
Show coefficients shrinking with some reaching zero and correlated groups staying more stable.
Elastic Net 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) + lambda1 * sum(abs(w_i)) + lambda2 * sum(w_i^2). Often compared with Ridge Regression and Lasso Regression.
What each reference supports for this entry.
Statistical learning reference for the model family and tradeoffs of Elastic Net.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Elastic Net extends Lasso with an added L2 penalty component.
Elastic Net extends Ridge with an added L1 penalty component.