Package | Description |
---|---|
jsat.classifiers.trees |
Modifier and Type | Method and Description |
---|---|
TreePruner.PruningMethod |
DecisionTree.getPruningMethod()
Returns the method of pruning used after tree construction
|
static TreePruner.PruningMethod |
TreePruner.PruningMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreePruner.PruningMethod[] |
TreePruner.PruningMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
TreePruner.prune(TreeNodeVisitor root,
TreePruner.PruningMethod method,
ClassificationDataSet testSet)
Performs pruning starting from the root node of a tree
|
static void |
TreePruner.prune(TreeNodeVisitor root,
TreePruner.PruningMethod method,
List<DataPointPair<Integer>> testSet)
Performs pruning starting from the root node of a tree
|
void |
DecisionTree.setPruningMethod(TreePruner.PruningMethod pruningMethod)
Sets the method of pruning that will be used after tree construction
|
Constructor and Description |
---|
DecisionTree(int maxDepth,
int minSamples,
TreePruner.PruningMethod pruningMethod,
double testProportion)
Creates a new decision tree classifier
|
RandomDecisionTree(int numFeatures,
int maxDepth,
int minSamples,
TreePruner.PruningMethod pruningMethod,
double testProportion)
Creates a new Random Decision Tree
|
Copyright © 2017. All rights reserved.