Class TrainTest.DecisionTreeOptions
java.lang.Object
org.tribuo.regression.rtree.TrainTest.DecisionTreeOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
TrainTest
public static class TrainTest.DecisionTreeOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
float
float
boolean
boolean
char
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 -
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
-
-
Constructor Details
-
DecisionTreeOptions
public DecisionTreeOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-