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
Nested ClassesModifier and TypeClassDescriptionstatic enumType of label features to include. -
Field Summary
Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header -
Constructor Summary
Constructors -
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, waitMethods 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.
-