public static class DecisionTree.Node extends Object implements Serializable
| Constructor and Description |
|---|
Node(InstanceList ilist,
DecisionTree.Node parent,
FeatureSelection fs) |
| Modifier and Type | Method and Description |
|---|---|
int |
depth()
The root has depth zero.
|
DecisionTree.Node |
getFeatureAbsentChild() |
DecisionTree.Node |
getFeaturePresentChild() |
String |
getName() |
Object |
getSplitFeature() |
double |
getSplitInfoGain() |
void |
induceFeatures(AugmentableFeatureVector afv,
FeatureSelection featuresAlreadyThere,
FeatureSelection[] perClassFeaturesAlreadyThere,
FeatureSelection newFeatureSelection,
FeatureSelection[] perClassNewFeatureSelection,
boolean withInteriorNodes,
boolean addPerClassFeatures,
double classEntropyThreshold) |
boolean |
isLeaf() |
boolean |
isRoot() |
void |
print() |
void |
split(FeatureSelection fs) |
void |
stopGrowth() |
public Node(InstanceList ilist, DecisionTree.Node parent, FeatureSelection fs)
public int depth()
public boolean isLeaf()
public boolean isRoot()
public DecisionTree.Node getFeatureAbsentChild()
public DecisionTree.Node getFeaturePresentChild()
public double getSplitInfoGain()
public Object getSplitFeature()
public void split(FeatureSelection fs)
public void stopGrowth()
public void induceFeatures(AugmentableFeatureVector afv, FeatureSelection featuresAlreadyThere, FeatureSelection[] perClassFeaturesAlreadyThere, FeatureSelection newFeatureSelection, FeatureSelection[] perClassNewFeatureSelection, boolean withInteriorNodes, boolean addPerClassFeatures, double classEntropyThreshold)
public String getName()
public void print()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.