Class TrainTest.RegressionTreeOptions
java.lang.Object
org.tribuo.regression.rtree.TrainTest.RegressionTreeOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
TrainTest
public static class TrainTest.RegressionTreeOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
float
float
float
boolean
boolean
char
boolean
Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
general
-
splitChar
@Option(longName="csv-response-split-char", usage="Character to split the CSV response on to generate multiple regression dimensions. Defaults to ':'.") public char splitChar -
depth
@Option(charName='d', longName="max-depth", usage="Maximum depth in the decision tree.") public int depth -
fraction
@Option(charName='e', longName="split-fraction", usage="Fraction of features in split.") public float fraction -
minChildWeight
@Option(charName='m', longName="min-child-weight", usage="Minimum child weight.") public float minChildWeight -
minImpurityDecrease
@Option(charName='p', longName="min-impurity-decrease", usage="Minimumum decrease in impurity required in order for the node to be split.") public float minImpurityDecrease -
useRandomSplitPoints
@Option(charName='r', longName="use-random-split-points", usage="Whether to choose split points for features at random.") public boolean useRandomSplitPoints -
normalize
@Option(charName='n', longName="normalize", usage="Normalize the leaf outputs so each leaf sums to 1.0.") public boolean normalize -
impurityType
@Option(charName='i', longName="impurity", usage="Impurity measure to use. Defaults to MSE.") public TrainTest.ImpurityType impurityType -
treeType
-
printTree
@Option(longName="print-tree", usage="Prints the decision tree.") public boolean printTree
-
-
Constructor Details
-
RegressionTreeOptions
public RegressionTreeOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-