Add `ConvergenceStopping` callback to stop driver upon convergence to a certain value (#1481)
Also improve `EarlyStopping` to support a relative tolerance, which is needed to use it when optimising the infidelity or other quantities converging to zero... @alleSini99 can you tell me if we need something else to be able to implement the black-box infidelity driver in netket fidelity?
Showing
- CHANGELOG.md 5 additions, 3 deletionsCHANGELOG.md
- docs/api/callbacks.md 2 additions, 0 deletionsdocs/api/callbacks.md
- netket/callbacks/__init__.py 1 addition, 0 deletionsnetket/callbacks/__init__.py
- netket/callbacks/convergence_stopping.py 70 additions, 0 deletionsnetket/callbacks/convergence_stopping.py
- netket/callbacks/earlystopping.py 34 additions, 12 deletionsnetket/callbacks/earlystopping.py
- test/callbacks/test_callbacks.py 51 additions, 1 deletiontest/callbacks/test_callbacks.py
Loading
Please register or sign in to comment