T
- Type of model to save. For example, MultiLayerNetwork
or ComputationGraph
public interface EarlyStoppingModelSaver<T extends Model> extends 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 IOException
IOException
void saveLatestModel(T net, double score) throws IOException
IOException
T getBestModel() throws IOException
IOException
T getLatestModel() throws IOException
IOException
Copyright © 2016. All Rights Reserved.