Closed MarcCote closed 9 years ago
@ASalvail at the end of early stopping the best model is restored (i.e. the shared variables contained in model.parameters
).
I also added a Callback
task. This is a recurrent task so we can call any Python function at the end of each K epoch or K update. On top of this, I created testing.py
which will contain all the tools needed for doing tests.
This PR also adds integration tests for stopping criteria:
MaxEpochStopping
andEarlyStopping
.