Class Test.ConfigurableTestOptions
java.lang.Object
org.tribuo.classification.experiments.Test.ConfigurableTestOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
- Test
public static class Test.ConfigurableTestOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
-
Field Summary
Modifier and TypeFieldDescriptionResponse name in the csv file.int
Hashing dimension used for standard text format.Loads the data using the specified format.Load a trainer from the config file.int
Ngram size to generate when using standard text format.Path to write model predictionsboolean
Load the model in protobuf format.boolean
Use term counts instead of boolean when using the standard text format.Path to the testing file.boolean
Is the libsvm file zero indexed.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
-
Field Details
-
hashDim
@Option(longName="hashing-dimension", usage="Hashing dimension used for standard text format.") public int hashDimHashing dimension used for standard text format. -
ngram
@Option(longName="ngram", usage="Ngram size to generate when using standard text format. Defaults to 2.") public int ngramNgram size to generate when using standard text format. Defaults to 2. -
termCounting
@Option(longName="term-counting", usage="Use term counts instead of boolean when using the standard text format.") public boolean termCountingUse term counts instead of boolean when using the standard text format. -
csvResponseName
@Option(longName="csv-response-name", usage="Response name in the csv file.") public String csvResponseNameResponse name in the csv file. -
zeroIndexed
@Option(longName="libsvm-zero-indexed", usage="Is the libsvm file zero indexed.") public boolean zeroIndexedIs the libsvm file zero indexed. -
modelPath
@Option(charName='f', longName="model-path", usage="Load a trainer from the config file.") public Path modelPathLoad a trainer from the config file. -
predictionPath
@Option(charName='o', longName="predictions", usage="Path to write model predictions") public Path predictionPathPath to write model predictions -
inputFormat
@Option(charName='s', longName="input-format", usage="Loads the data using the specified format. Defaults to LIBSVM.") public DataOptions.InputFormat inputFormatLoads the data using the specified format. Defaults to LIBSVM. -
testingPath
@Option(charName='v', longName="testing-file", usage="Path to the testing file.") public Path testingPathPath to the testing file. -
protobufModel
@Option(longName="read-protobuf-model", usage="Load the model in protobuf format.") public boolean protobufModelLoad the model in protobuf format.
-
-
Constructor Details
-
ConfigurableTestOptions
public ConfigurableTestOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-