Elastic Net
Elastic Net Regularized Regression · Also known as: Elastic Net Regresyon, elastic net regression, ElasticNet, L1/L2 regularized regression
Elastic Net is a regularized linear regression method introduced by Zou and Hastie in 2005 that blends the LASSO (L1) and Ridge (L2) penalties, so it performs variable selection and coefficient shrinkage at the same time. It is designed for predictive and explanatory modelling on data with many, possibly correlated, predictors.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
When to use it
Use Elastic Net for prediction or explanation on continuous, binary, or count outcomes when you have many predictors — especially correlated ones or more features than observations — and want automatic variable selection together with shrinkage. It assumes a roughly linear relationship and that features have been normalized. You need at least about 30 observations so that both hyperparameters can be tuned by cross-validation; below that, plain LASSO or Ridge is safer.
Strengths & limitations
- Combines LASSO variable selection with Ridge shrinkage in a single model.
- Handles correlated predictors gracefully, tending to keep or drop them as groups.
- Works when the number of features exceeds the number of observations.
- Distribution-light: does not require normally distributed outcomes and handles continuous, binary, and count features.
- Assumes an approximately linear relationship between predictors and outcome.
- Features must be normalized first, or the penalty unfairly favours large-scale variables.
- Two hyperparameters (penalty strength and L1/L2 ratio) must be tuned, needing more cross-validation data than single-penalty methods.
- On small samples (n below about 30) the L1/L2 mixing ratio is unstable to optimize.
Frequently asked
How is Elastic Net different from LASSO and Ridge?
LASSO uses only the L1 penalty (selection but unstable with correlated predictors); Ridge uses only the L2 penalty (stable shrinkage but never drops variables). Elastic Net blends both, controlled by a mixing ratio, so it selects variables and stays stable with correlated features.
Do I need to scale my features?
Yes. The penalty acts on the size of the coefficients, so features must be normalized first; otherwise large-scale variables are penalized differently and the selection is biased.
How many observations do I need?
At least about 30. Elastic Net tunes two hyperparameters by cross-validation, so it needs more data than single-penalty methods. Below 30, use plain LASSO if you need selection or Ridge if you need shrinkage.
What do the two hyperparameters control?
The overall penalty strength (λ) controls how much the coefficients are shrunk, and the mixing ratio (l1_ratio) sets the balance between the L1 selection penalty and the L2 shrinkage penalty. Both are chosen by cross-validation.
Sources
- Zou, H. & Hastie, T. (2005). Regularization and Variable Selection via the Elastic Net. Journal of the Royal Statistical Society: Series B, 67(2), 301–320. DOI: 10.1111/j.1467-9868.2005.00503.x ↗
How to cite this page
ScholarGate. (2026, June 1). Elastic Net Regularized Regression. ScholarGate. https://scholargate.app/en/machine-learning/elastic-net
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Lasso RegressionMachine learning↔ compare
- Logistic RegressionResearch Statistics↔ compare
- Random ForestMachine learning↔ compare
- Ridge RegressionMachine learning↔ compare