Class SeqTest.CRFOptions
java.lang.Object
org.tribuo.classification.sgd.crf.SeqTest.CRFOptions
- All Implemented Interfaces:
- com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
- SeqTest
public static class SeqTest.CRFOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintintbooleanlongbooleanFields inherited from interface com.oracle.labs.mlrg.olcut.config.Optionsheader
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
gradientOptions
- 
datasetName@Option(charName='d', longName="dataset-name", usage="Name of the example dataset, options are {gorilla}.") public String datasetName
- 
outputPath@Option(charName='f', longName="output-path", usage="Path to serialize model to.") public Path outputPath
- 
epochs@Option(charName='i', longName="epochs", usage="Number of SGD epochs.") public int epochs
- 
logModel@Option(charName='o', longName="print-model", usage="Print out feature, label and other model details.") public boolean logModel
- 
loggingInterval@Option(charName='p', longName="logging-interval", usage="Log the objective after <int> examples.") public int loggingInterval
- 
seed@Option(charName='r', longName="seed", usage="RNG seed.") public long seed
- 
shuffle@Option(longName="shuffle", usage="Shuffle the data each epoch (default: true).") public boolean shuffle
- 
trainDataset@Option(charName='u', longName="train-dataset", usage="Path to a serialised SequenceDataset used for training.") public Path trainDataset
- 
testDataset@Option(charName='v', longName="test-dataset", usage="Path to a serialised SequenceDataset used for testing.") public Path testDataset
- 
modelHashingAlgorithm@Option(longName="model-hashing-algorithm", usage="Hash the model during training. Defaults to no hashing.") public HashingOptions.ModelHashingType modelHashingAlgorithm
- 
modelHashingSalt@Option(longName="model-hashing-salt", usage="Salt for hashing the model.") public String modelHashingSalt
 
- 
- 
Constructor Details- 
CRFOptionspublic CRFOptions()
 
- 
- 
Method Details- 
getOptionsDescription- Specified by:
- getOptionsDescriptionin interface- com.oracle.labs.mlrg.olcut.config.Options
 
 
-