What is overfitting?

Knowledge Videos

Short animated explainers, organised by subject.

What is overfitting?

Underfit, good fit and overfit curves, train vs test error, and the fixes.

Transcript

A model tries to fit a curve through the training points.

Too simple, and it underfits. Too flexible, and it overfits, chasing every wiggle of noise.

The real test is new data that the model has not seen.

The overfit curve is perfect on the training set, but fails on the test data.

As complexity grows, training error keeps falling, but test error turns upward.

Fixes include more data, simpler models, regularisation, and early stopping.

Learn the pattern, not the noise.

More in this series