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.
  • Constructor Details

    • ViterbiTrainerOptions

      public ViterbiTrainerOptions()
  • Method Details

    • getSequenceTrainer

      public ViterbiTrainer getSequenceTrainer(Trainer<Label> innerTrainer)
      Creates a viterbi trainer wrapping the supplied label trainer.
      Parameters:
      innerTrainer - The trainer to wrap.
      Returns:
      A ViterbiTrainer.