Class TrainTest.SLMOptions

java.lang.Object
org.tribuo.regression.slm.TrainTest.SLMOptions
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
Enclosing class:
TrainTest

public static class TrainTest.SLMOptions extends Object implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
  • Field Details

    • general

      public DataOptions general
      The data loading options.
    • maxNumFeatures

      @Option(charName='m', longName="max-features-num", usage="Set the maximum number of features.") public int maxNumFeatures
      Set the maximum number of features.
    • algorithm

      @Option(charName='a', longName="algorithm", usage="Choose the training algorithm (stepwise forward selection or least angle regression).") public TrainTest.SLMType algorithm
      Choose the training algorithm (stepwise forward selection or least angle regression).
    • alpha

      @Option(charName='b', longName="alpha", usage="Regularisation strength in the Elastic Net.") public double alpha
      Regularisation strength in the Elastic Net.
    • l1Ratio

      @Option(charName='l', longName="l1Ratio", usage="Ratio between the l1 and l2 penalties in the Elastic Net. Must be between 0 and 1.") public double l1Ratio
      Ratio between the l1 and l2 penalties in the Elastic Net. Must be between 0 and 1.
    • iterations

      @Option(longName="iterations", usage="Iterations of Elastic Net.") public int iterations
      Iterations of Elastic Net.
  • Constructor Details

    • SLMOptions

      public SLMOptions()
  • Method Details

    • getOptionsDescription

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