How does regularization affect bias and variance?
Updated May 15, 2026
Short answer
Regularization increases bias slightly but significantly reduces variance.
Deep explanation
Regularization techniques like L1 (Lasso) and L2 (Ridge) add penalties to model complexity. This discourages overfitting by shrinking coefficients or removing irrelevant features. As a result, variance decreases because the model becomes less sensitive to noise, but bias increases because flexibility is reduced.
Real-world example
Ridge regression stabilizes predictions in financial forecasting models with many correlated features.
Common mistakes
- Assuming regularization always improves accuracy.
Follow-up questions
- What is the difference between L1 and L2 regularization?
- Can regularization cause underfitting?