Underfitting (Intuition) Math Example 3

Follow the full solution, then compare it with the other examples linked below.

Example 3

easy
A student uses y^=50\hat{y} = 50 (the mean) to predict all exam scores. Training R2=0R^2 = 0. Explain why this represents maximum underfitting.

Solution

  1. 1
    The 'model' y^=50\hat{y} = 50 makes the same prediction for everyone โ€” ignores all predictors
  2. 2
    R2=0R^2 = 0: the model explains 0% of score variation โ€” worst possible fit (besides being negative)
  3. 3
    This is maximum underfitting: the simplest possible model, capturing no structure at all
  4. 4
    Any model using actual predictors should outperform this baseline

Answer

Predicting the mean for all is maximum underfitting (Rยฒ=0); it uses no information from predictors.
The mean-only model is the baseline (null model) in regression. R2R^2 measures how much better any model does compared to this baseline. A R2=0R^2 = 0 means the model is no better than ignoring all predictors.

About Underfitting (Intuition)

Underfitting occurs when a model is too simple to capture the true pattern in the data, performing poorly on both training data and new data.

Learn more about Underfitting (Intuition) โ†’

More Underfitting (Intuition) Examples