Class ConfigurableTrainTest.ConfigurableTrainTestOptions
java.lang.Object
org.tribuo.classification.experiments.ConfigurableTrainTest.ConfigurableTrainTestOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
- ConfigurableTrainTest
public static class ConfigurableTrainTest.ConfigurableTrainTestOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
-
Field Summary
Modifier and TypeFieldDescriptionOptions for loading in data.Path to write model predictionsLoad a trainer from the config file.A list of weights to use in classification.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
-
Field Details
-
general
Options for loading in data. -
trainer
@Option(charName='t', longName="trainer", usage="Load a trainer from the config file.") public Trainer<Label> trainerLoad a trainer from the config file. -
weights
@Option(charName='w', longName="weights", usage="A list of weights to use in classification. Format = LABEL_NAME:weight,LABEL_NAME:weight...") public List<String> weightsA list of weights to use in classification. Format = LABEL_NAME:weight,LABEL_NAME:weight... -
predictionPath
@Option(charName='o', longName="predictions", usage="Path to write model predictions") public Path predictionPathPath to write model predictions
-
-
Constructor Details
-
ConfigurableTrainTestOptions
public ConfigurableTrainTestOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-