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 if the loss gets below a certain threshold.

InvalidLossStopping

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

Timeout

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