Class SeqTrainTest.SeqTrainTestOptions
java.lang.Object
org.tribuo.classification.sequence.SeqTrainTest.SeqTrainTestOptions
- All Implemented Interfaces:
- com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
- SeqTrainTest
public static class SeqTrainTest.SeqTrainTestOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionName of the example dataset, options are {gorilla}.Path to serialize model to.booleanLoad in the data in protobuf format.Path to a serialised SequenceDataset used for testing.Path to a serialised SequenceDataset used for training.Name of the trainer in the configuration file.booleanWrite the model out in protobuf format.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Optionsheader
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
datasetName@Option(charName='d', longName="dataset-name", usage="Name of the example dataset, options are {gorilla}.") public String datasetNameName of the example dataset, options are {gorilla}.
- 
outputPath@Option(charName='f', longName="output-path", usage="Path to serialize model to.") public Path outputPathPath to serialize model to.
- 
trainDataset@Option(charName='u', longName="train-dataset", usage="Path to a serialised SequenceDataset used for training.") public Path trainDatasetPath to a serialised SequenceDataset used for training.
- 
testDataset@Option(charName='v', longName="test-dataset", usage="Path to a serialised SequenceDataset used for testing.") public Path testDatasetPath to a serialised SequenceDataset used for testing.
- 
trainer@Option(charName='t', longName="trainer-name", usage="Name of the trainer in the configuration file.") public SequenceTrainer<Label> trainerName of the trainer in the configuration file.
- 
protobufFormat@Option(charName='p', longName="protobuf-format-dataset", usage="Load the model from a protobuf. Optional") public boolean protobufFormatLoad in the data in protobuf format.
- 
writeProtobuf@Option(longName="write-protobuf-model", usage="Write the model out in protobuf format.") public boolean writeProtobufWrite the model out in protobuf format.
 
- 
- 
Constructor Details- 
SeqTrainTestOptionspublic SeqTrainTestOptions()
 
- 
- 
Method Details- 
getOptionsDescription- Specified by:
- getOptionsDescriptionin interface- com.oracle.labs.mlrg.olcut.config.Options
 
 
-