static DecisionTree |
DecisionTree.create() |
|
static DecisionTree |
DecisionTree.create(FeatureType[] featureTypes) |
Creates a new decision tree with the given feature types.
|
static DecisionTree |
DecisionTree.createCompiledTree() |
|
static DecisionTree |
DecisionTree.createCompiledTree(FeatureType[] featureTypes) |
Creates a new compiled decision tree with the given feature types.
|
static DecisionTree |
DecisionTree.deserialize(java.io.DataInput in) |
Reads a new tree from the given stream.
|
DecisionTree |
DecisionTree.setCompiled(boolean compiled) |
If set to true, this tree will be compiled after training time
automatically.
|
DecisionTree |
DecisionTree.setFeatureTypes(FeatureType[] featureTypes) |
Sets the type of feature per index.
|
DecisionTree |
DecisionTree.setMaxHeight(int max) |
Sets the maximum height of this tree.
|
DecisionTree |
DecisionTree.setNumRandomFeaturesToChoose(int numRandomFeaturesToChoose) |
Sets the number of random features to choose from all features.Zero,
negative numbers or numbers greater than the really available features
indicate all features to be used.
|
DecisionTree |
DecisionTree.setSeed(long seed) |
Sets the seed for a random number generator if used.
|