public interface TrainingEvaluator extends Serializable
Modifier and Type | Method and Description |
---|---|
double |
bestLoss()
The best validation loss so far
|
double |
improvementThreshold() |
int |
miniBatchSize() |
double |
patience() |
double |
patienceIncrease()
Amount patience should be increased when a new best threshold is hit
|
boolean |
shouldStop(int epoch)
Whether to terminate or not
|
int |
validationEpochs()
The number of epochs to test on
|
boolean shouldStop(int epoch)
epoch
- the current epochdouble improvementThreshold()
double patience()
double patienceIncrease()
double bestLoss()
int validationEpochs()
int miniBatchSize()
Copyright © 2014. All Rights Reserved.