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 Details

    • hashDim

      @Option(longName="hashing-dimension", usage="Hashing dimension used for standard text format.") public int hashDim
      Hashing 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 ngram
      Ngram 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 termCounting
      Use 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 csvResponseName
      Response name in the csv file.
    • zeroIndexed

      @Option(longName="libsvm-zero-indexed", usage="Is the libsvm file zero indexed.") public boolean zeroIndexed
      Is the libsvm file zero indexed.
    • modelPath

      @Option(charName='f', longName="model-path", usage="Load a trainer from the config file.") public Path modelPath
      Load a trainer from the config file.
    • predictionPath

      @Option(charName='o', longName="predictions", usage="Path to write model predictions") public Path predictionPath
      Path 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 inputFormat
      Loads the data using the specified format. Defaults to LIBSVM.
    • testingPath

      @Option(charName='v', longName="testing-file", usage="Path to the testing file.") public Path testingPath
      Path to the testing file.
    • protobufModel

      @Option(longName="read-protobuf-model", usage="Load the model in protobuf format.") public boolean protobufModel
      Load the model in protobuf format.
  • Constructor Details

    • ConfigurableTestOptions

      public ConfigurableTestOptions()
  • Method Details

    • getOptionsDescription

      public String getOptionsDescription()
      Specified by:
      getOptionsDescription in interface com.oracle.labs.mlrg.olcut.config.Options