Class ViterbiTrainerOptions
java.lang.Object
org.tribuo.classification.sequence.viterbi.ViterbiTrainerOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
public class ViterbiTrainerOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Options for building a viterbi trainer.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Type of label features to include. -
Field Summary
Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSequenceTrainer
(Trainer<Label> innerTrainer) Creates a viterbi trainer wrapping the supplied label trainer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.oracle.labs.mlrg.olcut.config.Options
getOptionsDescription
-
Constructor Details
-
ViterbiTrainerOptions
public ViterbiTrainerOptions()
-
-
Method Details
-
getSequenceTrainer
Creates a viterbi trainer wrapping the supplied label trainer.- Parameters:
innerTrainer
- The trainer to wrap.- Returns:
- A ViterbiTrainer.
-