public class InvalidScoreIterationTerminationCondition extends java.lang.Object implements IterationTerminationCondition
Constructor and Description |
---|
InvalidScoreIterationTerminationCondition() |
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
|
java.lang.String |
toString() |
public InvalidScoreIterationTerminationCondition()
public void initialize()
IterationTerminationCondition
initialize
in interface IterationTerminationCondition
public boolean terminate(double lastMiniBatchScore)
IterationTerminationCondition
terminate
in interface IterationTerminationCondition
lastMiniBatchScore
- Score of the last minibatchpublic java.lang.String toString()
toString
in class java.lang.Object