public final class ModelStats extends Object implements TreeVisitor, RankingSource
| Constructor and Description |
|---|
ModelStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
categoricalBranch(quickml.supervised.tree.decisionTree.nodes.DTCatBranch branch,
boolean trueChild) |
FeatureRanking |
getFeatureRanking() |
void |
leaf(quickml.supervised.tree.decisionTree.nodes.DTLeaf leaf,
boolean trueChild) |
void |
numericalBranch(quickml.supervised.tree.decisionTree.nodes.DTNumBranch branch,
boolean trueChild) |
String |
toString() |
void |
tree(quickml.supervised.tree.decisionTree.DecisionTree tree) |
public void tree(quickml.supervised.tree.decisionTree.DecisionTree tree)
tree in interface TreeVisitortree - The current tree.public void categoricalBranch(quickml.supervised.tree.decisionTree.nodes.DTCatBranch branch,
boolean trueChild)
categoricalBranch in interface TreeVisitorbranch - The current categorical branch.trueChild - Whether this branch is the parent's true or false decision.public void numericalBranch(quickml.supervised.tree.decisionTree.nodes.DTNumBranch branch,
boolean trueChild)
numericalBranch in interface TreeVisitorbranch - The current numerical branch.trueChild - Whether this branch is the parent's true or false decision.public void leaf(quickml.supervised.tree.decisionTree.nodes.DTLeaf leaf,
boolean trueChild)
leaf in interface TreeVisitorleaf - The current leaf.trueChild - Whether this branch is the parent's true or false decision.public FeatureRanking getFeatureRanking()
getFeatureRanking in interface RankingSourceCopyright © 2018. All rights reserved.