T
- Type of model. For example, MultiLayerNetwork
or ComputationGraph
public interface EarlyStoppingListener<T extends Model>
Modifier and Type | Method and Description |
---|---|
void |
onCompletion(EarlyStoppingResult<T> esResult)
Method that is called at the end of early stopping training
|
void |
onEpoch(int epochNum,
double score,
EarlyStoppingConfiguration<T> esConfig,
T net)
Method that is called at the end of each epoch completed during early stopping training
|
void |
onStart(EarlyStoppingConfiguration<T> esConfig,
T net)
Method to be called when early stopping training is first started
|
void onStart(EarlyStoppingConfiguration<T> esConfig, T net)
void onEpoch(int epochNum, double score, EarlyStoppingConfiguration<T> esConfig, T net)
epochNum
- The number of the epoch just completed (starting at 0)score
- The score calculatedesConfig
- Configurationnet
- Network (current)void onCompletion(EarlyStoppingResult<T> esResult)
esResult
- The early stopping result. Provides details of why early stopping training was terminated, etc