public interface IterationTerminationCondition
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Initialize the iteration termination condition (sometimes a no-op)
|
boolean |
terminate(double lastMiniBatchScore)
Should early stopping training terminate at this iteration, based on the score for the last iteration?
return true if training should be terminated immediately, or false otherwise
|
void initialize()
boolean terminate(double lastMiniBatchScore)
lastMiniBatchScore
- Score of the last minibatch