public interface TreeVisitor
| Modifier and Type | Method and Description |
|---|---|
void |
categoricalBranch(quickml.supervised.tree.decisionTree.nodes.DTCatBranch branch,
boolean trueChild) |
void |
leaf(quickml.supervised.tree.decisionTree.nodes.DTLeaf leaf,
boolean trueChild) |
void |
numericalBranch(quickml.supervised.tree.decisionTree.nodes.DTNumBranch branch,
boolean trueChild) |
void |
tree(quickml.supervised.tree.decisionTree.DecisionTree tree) |
void tree(quickml.supervised.tree.decisionTree.DecisionTree tree)
tree - The current tree.void categoricalBranch(quickml.supervised.tree.decisionTree.nodes.DTCatBranch branch,
boolean trueChild)
branch - The current categorical branch.trueChild - Whether this branch is the parent's true or false decision.void numericalBranch(quickml.supervised.tree.decisionTree.nodes.DTNumBranch branch,
boolean trueChild)
branch - The current numerical branch.trueChild - Whether this branch is the parent's true or false decision.void leaf(quickml.supervised.tree.decisionTree.nodes.DTLeaf leaf,
boolean trueChild)
leaf - The current leaf.trueChild - Whether this branch is the parent's true or false decision.Copyright © 2018. All rights reserved.