T
- Type of model. For example, MultiLayerNetwork
or ComputationGraph
public class EarlyStoppingResult<T extends Model>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
EarlyStoppingResult.TerminationReason |
Constructor and Description |
---|
EarlyStoppingResult(EarlyStoppingResult.TerminationReason terminationReason,
java.lang.String terminationDetails,
java.util.Map<java.lang.Integer,java.lang.Double> scoreVsEpoch,
int bestModelEpoch,
double bestModelScore,
int totalEpochs,
T bestModel) |
Modifier and Type | Method and Description |
---|---|
T |
getBestModel() |
java.lang.String |
toString() |
public EarlyStoppingResult(EarlyStoppingResult.TerminationReason terminationReason, java.lang.String terminationDetails, java.util.Map<java.lang.Integer,java.lang.Double> scoreVsEpoch, int bestModelEpoch, double bestModelScore, int totalEpochs, T bestModel)
public java.lang.String toString()
toString
in class java.lang.Object
public T getBestModel()