public class EarlyStoppingTrainer extends BaseEarlyStoppingTrainer<MultiLayerNetwork>
MultiLayerNetwork
. To train a ComputationGraph
, use EarlyStoppingGraphTrainer
esConfig, model
Constructor and Description |
---|
EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> earlyStoppingConfiguration,
MultiLayerConfiguration configuration,
org.nd4j.linalg.dataset.api.iterator.DataSetIterator train) |
EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> esConfig,
MultiLayerNetwork net,
org.nd4j.linalg.dataset.api.iterator.DataSetIterator train) |
EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> esConfig,
MultiLayerNetwork net,
org.nd4j.linalg.dataset.api.iterator.DataSetIterator train,
EarlyStoppingListener<MultiLayerNetwork> listener) |
Modifier and Type | Method and Description |
---|---|
protected void |
fit(org.nd4j.linalg.dataset.DataSet ds) |
protected void |
fit(org.nd4j.linalg.dataset.api.MultiDataSet mds) |
fit, reset, setListener
public EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> earlyStoppingConfiguration, MultiLayerConfiguration configuration, org.nd4j.linalg.dataset.api.iterator.DataSetIterator train)
public EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> esConfig, MultiLayerNetwork net, org.nd4j.linalg.dataset.api.iterator.DataSetIterator train)
public EarlyStoppingTrainer(EarlyStoppingConfiguration<MultiLayerNetwork> esConfig, MultiLayerNetwork net, org.nd4j.linalg.dataset.api.iterator.DataSetIterator train, EarlyStoppingListener<MultiLayerNetwork> listener)
protected void fit(org.nd4j.linalg.dataset.DataSet ds)
fit
in class BaseEarlyStoppingTrainer<MultiLayerNetwork>
protected void fit(org.nd4j.linalg.dataset.api.MultiDataSet mds)
fit
in class BaseEarlyStoppingTrainer<MultiLayerNetwork>