Lesson 5 of 227 min

Overfitting and regularization

A model that bends too much learns its own examples and misses new ones, a model too simple misses both, and a penalty on big weights keeps it smooth, with its strength chosen on the validation set.

After this lesson you can spot overfitting and underfitting from the training and validation error, and hold a model back with a penalty on its weights.

Loading the video…

Refreshers

An idea from an earlier lesson shows up here when the video leans on it.

You use this lesson in Lab 2: Tune a penguin model on folds, after Cross-validation and tuning.

Facts last checked on .