netket.callbacks.EarlyStopping

class netket.callbacks.EarlyStopping(min_delta=0.0, patience=0, baseline=None, monitor='mean')

Bases: object

A simple callback to stop NetKet if there are no more improvements in the training. based on driver._loss_name.

Inheritance
Inheritance diagram of netket.callbacks.EarlyStopping
Attributes
baseline: float = None
min_delta: float = 0.0
monitor: str = 'mean'
patience: Union[int, float] = 0