T
- Type of model to save. For example, MultiLayerNetwork
or ComputationGraph
public interface EarlyStoppingModelSaver<T extends Model>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
T |
getBestModel()
Retrieve the best model that was previously saved
|
T |
getLatestModel()
Retrieve the most recent model that was previously saved
|
void |
saveBestModel(T net,
double score)
Save the best model (so far) learned during early stopping training
|
void |
saveLatestModel(T net,
double score)
Save the latest (most recent) model learned during early stopping
|
void saveBestModel(T net, double score) throws java.io.IOException
java.io.IOException
void saveLatestModel(T net, double score) throws java.io.IOException
java.io.IOException
T getBestModel() throws java.io.IOException
java.io.IOException
T getLatestModel() throws java.io.IOException
java.io.IOException