public interface SequenceTrainer<T extends Output<T>> extends com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<TrainerProvenance>
Modifier and Type | Method and Description |
---|---|
int |
getInvocationCount()
Returns the number of times the train method has been invoked.
|
default SequenceModel<T> |
train(SequenceDataset<T> examples)
Trains a sequence prediction model using the examples in the given data set.
|
SequenceModel<T> |
train(SequenceDataset<T> examples,
Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> runProvenance)
Trains a sequence prediction model using the examples in the given data set.
|
default SequenceModel<T> train(SequenceDataset<T> examples)
examples
- the data set containing the examples.SequenceModel<T> train(SequenceDataset<T> examples, Map<String,com.oracle.labs.mlrg.olcut.provenance.Provenance> runProvenance)
examples
- the data set containing the examples.runProvenance
- Training run specific provenance (e.g., fold number).int getInvocationCount()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.