MODULE

IVORY.CALLBACKS.EARLY_STOPPING

Early stopping when a monitored metric has stopped improving.

Classes
  • EarlyStopping Early stops a training loop when a monitored metric has stopped improving.</>
dataclass

ivory.callbacks.early_stopping.EarlyStopping(patience)

Early stops a training loop when a monitored metric has stopped improving.

Parameters
  • patience (int) Number of epochs with no improvement after which training will be stopped.
Attributes
  • patience (int) Number of epochs with no improvement after which training will be stopped.
  • wait (int) Number of continuous epochs with no imporovement.
Raises
  • EarlyStopped When ealry stopping occurs.