Modifier and Type | Field and Description |
---|---|
int |
depth |
float |
fraction |
DataOptions |
general |
TrainTest.ImpurityType |
impurityType |
float |
minChildWeight |
boolean |
normalize |
boolean |
printTree |
char |
splitChar |
TrainTest.TreeType |
treeType |
Constructor and Description |
---|
DecisionTreeOptions() |
public DataOptions general
@Option(longName="csv-response-split-char", usage="Character to split the CSV response on to generate multiple regression dimensions. Defaults to \':\'.") public char splitChar
@Option(charName=100, longName="max-depth", usage="Maximum depth in the decision tree.") public int depth
@Option(charName=101, longName="split-fraction", usage="Fraction of features in split.") public float fraction
@Option(charName=109, longName="min-child-weight", usage="Minimum child weight.") public float minChildWeight
@Option(charName=110, longName="normalize", usage="Normalize the leaf outputs so each leaf sums to 1.0.") public boolean normalize
@Option(charName=105, longName="impurity", usage="Impurity measure to use. Defaults to MSE.") public TrainTest.ImpurityType impurityType
@Option(charName=116, longName="tree-type", usage="Tree type.") public TrainTest.TreeType treeType
@Option(longName="print-tree", usage="Prints the decision tree.") public boolean printTree
public String getOptionsDescription()
getOptionsDescription
in interface com.oracle.labs.mlrg.olcut.config.Options
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.