juniorLinear Regression
What is overfitting in Linear Regression?
Updated May 16, 2026
Short answer
Overfitting occurs when the model learns noise instead of the underlying pattern.
Deep explanation
It happens when the model is too complex relative to data size, leading to poor generalization.
Real-world example
A model performing well on training but poorly on test sales data.
Common mistakes
- Using too many features without regularization.
Follow-up questions
- How do you prevent overfitting?