Underfitting a Simple Pattern
A model can be too restricted to capture a relationship useful on both training and new data under the task's loss.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace a constant predictor
For values increasing roughly with x, a fixed mean predicts the same output for small and large inputs. Residuals can show a systematic pattern. See constant squared-error predictors.
Compare an appropriate model
A line could reduce structured error if the pattern is close to linear. Evaluate it with the same held-out setup. Residual plots help show what changed.[1]
Find a pattern a simple model cannot express
Data pairs have target two for input minus one and one, and target zero at zero. A constant predictor gives the three examples one shared estimate even though the relationship changes. A straight line also cannot hit the dip while matching both equal endpoint values. See training and held-out losses.
Data: (-1,2), (0,0), (1,2)
Best constant under squared error: 4/3
The curve 2x² matches the three idealized observations
Confirm the pattern beyond the illustrative data
More flexible models can fit noise as well as structure. Use a validation design appropriate to the task. Large error on both training and validation may arise from input quality, optimization or limited model capacity.