public class ScoreImprovementMinEpochsTerminationCondition
extends org.deeplearning4j.earlystopping.termination.ScoreImprovementEpochTerminationCondition
| Constructor and Description |
|---|
ScoreImprovementMinEpochsTerminationCondition(int minEpochs,
int maxEpochsWithNoImprovement,
int maxEpochs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
terminate(int epochNum,
double score,
boolean minimize)
Should the early stopping training terminate at this epoch, based on the calculated score and the epoch number?
|
String |
toString() |
canEqual, equals, getBestEpoch, getBestScore, getMaxEpochsWithNoImprovement, getMinImprovement, hashCode, initialize, setBestEpoch, setBestScore, setMaxEpochsWithNoImprovement, setMinImprovementpublic ScoreImprovementMinEpochsTerminationCondition(int minEpochs,
int maxEpochsWithNoImprovement,
int maxEpochs)
public boolean terminate(int epochNum,
double score,
boolean minimize)
terminate in interface org.deeplearning4j.earlystopping.termination.EpochTerminationConditionterminate in class org.deeplearning4j.earlystopping.termination.ScoreImprovementEpochTerminationConditionepochNum - Number of the last completed epoch (starting at 0)score - Score calculate for this epochpublic String toString()
toString in class org.deeplearning4j.earlystopping.termination.ScoreImprovementEpochTerminationConditionCopyright © 2019. All rights reserved.