public class Iadem3.AdaptiveSplitNode extends Iadem2.SplitNode implements Serializable
Modifier and Type | Field and Description |
---|---|
protected AutoExpandVector<Iadem3Subtree> |
alternativeTree |
protected int |
causeOfSplit |
protected AbstractChangeDetector |
estimator |
protected Iadem3.AdaptiveLeafNode |
leaf |
children, splitTest
classValueDist, parent, tree
Constructor and Description |
---|
AdaptiveSplitNode(Iadem3 tree,
Iadem2.Node parent,
Iadem2.Node[] child,
double[] freq,
InstanceConditionalTest splitTest,
AbstractChangeDetector estimator,
Iadem3.AdaptiveLeafNode predictionLeaf,
int causeOfSplit) |
Modifier and Type | Method and Description |
---|---|
double[] |
getClassVotes(Instance observacion) |
double |
getErrorEstimation() |
void |
getNumberOfNodes(int[] count) |
int |
getNumberOfSubtrees() |
int |
getNumTrees() |
int |
getSubtreeNodeCount() |
boolean |
isUseless(int i) |
Iadem2.Node |
learnFromInstance(Instance instance) |
protected void |
updateSubtreeLevel(Iadem2.Node node) |
protected void |
updateSubtreeLevelAux(Iadem2.Node node) |
addChild, changeChildren, getChild, getChildCount, getLeaves, getSplitTest, instanceChildIndex, removeChild, setChild, setChild, setChildren
getClassValueDist, getParent, getTree, setClassValueDist, setParent, setTree
protected AutoExpandVector<Iadem3Subtree> alternativeTree
protected AbstractChangeDetector estimator
protected int causeOfSplit
protected Iadem3.AdaptiveLeafNode leaf
public AdaptiveSplitNode(Iadem3 tree, Iadem2.Node parent, Iadem2.Node[] child, double[] freq, InstanceConditionalTest splitTest, AbstractChangeDetector estimator, Iadem3.AdaptiveLeafNode predictionLeaf, int causeOfSplit)
public Iadem2.Node learnFromInstance(Instance instance)
learnFromInstance
in class Iadem2.SplitNode
public boolean isUseless(int i)
protected void updateSubtreeLevel(Iadem2.Node node)
protected void updateSubtreeLevelAux(Iadem2.Node node)
public int getNumTrees()
public double[] getClassVotes(Instance observacion)
getClassVotes
in class Iadem2.SplitNode
public int getSubtreeNodeCount()
getSubtreeNodeCount
in class Iadem2.SplitNode
public double getErrorEstimation()
public void getNumberOfNodes(int[] count)
getNumberOfNodes
in class Iadem2.SplitNode
public int getNumberOfSubtrees()
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.