Package org.tribuo.data
Class ConfigurableTrainTest.ConfigurableTrainTestOptions
java.lang.Object
org.tribuo.data.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 TypeFieldDescriptionboolean
Cross-validate the output metrics.Data loading options.int
The number of cross validation folds.The output factory to construct.Trainer<?>
Load a trainer from the config file.Load a transformation map from the config file.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
-
Field Details
-
general
Data loading options. -
trainer
@Option(charName='t', longName="trainer", usage="Load a trainer from the config file.") public Trainer<?> trainerLoad a trainer from the config file. -
transformationMap
@Option(longName="transformer", usage="Load a transformation map from the config file.") public TransformationMap transformationMapLoad a transformation map from the config file. -
outputFactory
@Option(charName='a', longName="output-factory", usage="The output factory to construct.") public OutputFactory<?> outputFactoryThe output factory to construct. -
crossValidation
@Option(charName='x', longName="cross-validate", usage="Cross-validate the output metrics.") public boolean crossValidationCross-validate the output metrics. -
numFolds
@Option(charName='n', longName="num-folds", usage="The number of cross validation folds.") public int numFoldsThe number of cross validation folds.
-
-
Constructor Details
-
ConfigurableTrainTestOptions
public ConfigurableTrainTestOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-