When a model is too simple, it misses the real pattern
π¬
Professor Spark
Underfitting is the opposite of overfitting. The model is so simple it cannot capture the true relationship β even on the data it has already seen. Your task: recognise it and fix it.
Three missions
You will face three situations. In each one you must decide whether the current model is underfitting, and then improve it if needed. Observation and reasoning required β no free points.
Mission 1 β Spot the underfit
Look at the data and the current model (the flat line). Is this model underfitting?
β
Current MSE
Very high
Error level
Yes β the model is too simple and ignores the clear upward trend
No β this is a good model; the data is just random
No β this is overfitting because the line is perfect
Mission 2 β Choose the right complexity
The data has a clear rising pattern. Three candidate models are offered. Which one is the sensible choice (neither under- nor over-fitting)?
Model A β flat horizontal line (ignores hours completely)
Model B β straight line with positive slope
Model C β extremely wiggly curve that hits every point
Mission 3 β Fix the underfit yourself
The current line is almost flat (underfitting). Raise the slope until the MSE drops below the target. You must understand what βmore complexityβ means here: giving the model the ability to follow the trend.
β
Your MSE
15
Target (max)
Challenge Complete
You now know the two classic failures of models:
Underfitting β model too simple, high error even on training data, misses the real pattern.
Overfitting β model too complex, almost zero training error, but fails on new data.
The sweet spot is a model that is complex enough to capture the true relationship, yet simple enough to ignore noise.