| early_stop | R Documentation |
early_stop() is a helper function to be supplied on early_stopping arguments.
early_stop(
patience = 5L,
min_delta = 1e-04,
restore_best_weights = TRUE,
monitor = "val_loss"
)
patience |
Integer. Epochs to wait after last improvement. Default |
min_delta |
Numeric. Minimum improvement to qualify as better. Default |
restore_best_weights |
Logical. Restore weights from best epoch. Default |
monitor |
Character. Metric to monitor. One of |
An object of class "early_stop_spec".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.