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 SummaryFieldsModifier and TypeFieldDescriptiondoubleintdoubleintFields inherited from interface com.oracle.labs.mlrg.olcut.config.Optionsheader
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
general
- 
maxNumFeatures@Option(charName='m', longName="max-features-num", usage="Set the maximum number of features.") public int maxNumFeatures
- 
algorithm@Option(charName='a', longName="algorithm", usage="Choose the training algorithm (stepwise forward selection or least angle regression).") public TrainTest.SLMType algorithm
- 
alpha@Option(charName='b', longName="alpha", usage="Regularisation strength in the Elastic Net.") public double alpha
- 
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
- 
iterations@Option(longName="iterations", usage="Iterations of Elastic Net.") public int iterations
 
- 
- 
Constructor Details- 
SLMOptionspublic SLMOptions()
 
- 
- 
Method Details- 
getOptionsDescription- Specified by:
- getOptionsDescriptionin interface- com.oracle.labs.mlrg.olcut.config.Options
 
 
-