ML glossary › Overfitting
What is overfitting in machine learning?
The model memorized the training examples, noise included, and fails on new ones.
Where it shows up
Regression and optimization
Underfitting and overfitting
A degree-9 curve passes through every training point exactly, so training error is 0. To do that it swings wildly between points. It memorized the noise. That is overfitting, also called high variance.
See overfitting in motion. The lesson animates it step by step, free.
Open the lessonRelated terms
- Underfitting: The model is too simple and misses the real pattern.