Underfitting
What is Underfitting?
In one sentence: Underfitting is when a model is too simple or not trained enough, so it fails to learn the pattern even on its training data.
Imagine trying to draw a curvy road using only one straight line. No matter where you put the line, it will not fit well. An underfit model is like that straight line: it is not flexible enough to capture what is really going on, so it does poorly everywhere.
What does Underfitting look like?
A model that guesses the same house price for every house, big or small, is underfitting.
Why does Underfitting matter?
Good models sit between underfitting and overfitting, learning the real pattern and nothing extra.
Underfitting vs. Overfitting
An overfitting model memorizes training quirks and stumbles on new data; an underfitting model is too simple or under-trained to capture the pattern even on training data.
| Dimension | Underfitting | Overfitting |
|---|---|---|
| Training score | Poor | Very high (memorized) |
| Test / real-world score | Also poor | Drops sharply on unseen examples |
| Common fix | Bigger model, better features, longer training | More data, regularization, early stopping |
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/underfitting/">Underfitting, explained simply</a> (The AI Math Dictionary)