netket.callbacks

netket.callbacks#

Those callbacks can be used with the optimisation drivers.

EarlyStopping

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

ConvergenceStopping

A simple callback to stop the optimisation when the monitored quantity gets below a certain threshold for at least patience steps.

InvalidLossStopping

A simple callback to stop the optimisation when the monitored quantity becomes invalid for at least patience steps.

Timeout

A simple callback to stop NetKet after some time has passed.