Skip to content
Lambdian

Underfitting

When a model is too simple to capture the real pattern, so it is wrong on training and new data alike.

A model underfits when it cannot represent the relationship in the data, for example a straight line through a clearly curved pattern. Both training error and test error stay high, and they are close to each other.

Fixes: use a more flexible model (more features, polynomial terms, deeper trees, a neural network), reduce regularisation, or engineer better features. Underfitting is a bias problem; overfitting is a variance problem.

See it in action