generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 722
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Early stopping configuration: Specifies the various configuration options for running training with early stopping.
- early stopping model saver - only use last best model: How model will be saved (to disk, to memory, etc)
- Termination conditions:
1. Iteration termination conditions: how many epoch till termination.
2. score improvement termination condition - terminate training if best model score does not improve for N epochs
3. best expected score - terminate training once we achieved an expected score.
4. termination condition after certain time - terminate training after certain time
5. other termination conditions, if they are logical
Will this change the current api? How?
We can configure when model training will stop, when one of condition above is met.
Training should be implemented as listener, early stop configuration will listen for any conditions above and terminate training.
Who will benefit from this feature?
Everybody, we can easily configure when learning will end.
References
Reference implementation:
https://github.com/eclipse/deeplearning4j/blob/b5f0ec072f3fd0da566e32f82c0e43ca36553f39/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/earlystopping/EarlyStoppingConfiguration.java
There are other implementation in different NN framework.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request