Model Validation - II
Learn about model validation using an early stopping monitor.
We'll cover the following
π― Goal: Keep training until the validation score is improving and stop training when it is not improving. Do this with an early stopping monitor.
Early stopping
The early stopping monitor allows continual training of the model until the validation score stops to improve before fitting the model.
Early stopping in Keras
The monitor takes the argument patience
, i.e., how many epochs the model can take without improving before we stop training.
early_stopping_monitor
is assigned to the callback
argument within the fit
method.
Get hands-on with 1200+ tech skills courses.