AI engineering glossary · ML fundamentals

What is early stopping?

Early stopping: A regularisation method for iterative training: watch the error on a validation set and stop when it has stopped improving for a set number of rounds, keeping the best version seen. It prevents the model from continuing to memorise training data after it has learned the general pattern.

Level: intermediateTopic: ML fundamentals

Early stopping: an example

Training halts at epoch 34 because validation loss has not fallen for 5 epochs, and the epoch-29 weights are kept.

Related terms

More ML fundamentals terms

Where you learn it

Early stopping is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.