public abstract static class ISOUPTree.InnerNode extends ISOUPTree.Node
Modifier and Type | Field and Description |
---|---|
protected AutoExpandVector<ISOUPTree.Node> |
children |
protected double |
lossExamplesSeen |
protected double |
lossFadedSumAlternate |
protected double |
lossFadedSumOriginal |
protected double |
lossNumQiTests |
protected double |
lossSumQi |
protected DoubleVector |
PHmins |
protected DoubleVector |
PHsums |
protected double |
previousWeight |
protected DoubleVector |
sumOfAbsErrors |
alternateTree, attributeObservers, changeDetection, examplesSeen, ID, originalNode, parent, sumOfSquares, sumOfValues, tree, weightSeenAtLastSplitEvaluation
Modifier and Type | Method and Description |
---|---|
void |
disableChangeDetection() |
ISOUPTree.Node |
getChild(int i) |
int |
getChildIndex(ISOUPTree.Node child) |
void |
initializeAlternateTree(ISOUPTree tree) |
int |
numChildren() |
boolean |
PageHinckleyTest(double error,
double threshold,
int targetIndex)
Check to see if the tree needs updating
|
void |
restartChangeDetection() |
void |
setChild(int i,
ISOUPTree.Node child) |
calcByteSize, copyStatistics, describeSubtree, getDescription, getLevel, getNumSubtrees, getParent, getPrediction, setParent, skipInLevelCount
copy, copy, measureByteSize, measureByteSize, toString
protected AutoExpandVector<ISOUPTree.Node> children
protected DoubleVector sumOfAbsErrors
protected DoubleVector PHsums
protected DoubleVector PHmins
protected double lossExamplesSeen
protected double lossFadedSumOriginal
protected double lossFadedSumAlternate
protected double lossNumQiTests
protected double lossSumQi
protected double previousWeight
public InnerNode(ISOUPTree tree)
public int numChildren()
public ISOUPTree.Node getChild(int i)
public int getChildIndex(ISOUPTree.Node child)
getChildIndex
in class ISOUPTree.Node
public void setChild(int i, ISOUPTree.Node child)
setChild
in class ISOUPTree.Node
public void disableChangeDetection()
disableChangeDetection
in class ISOUPTree.Node
public void restartChangeDetection()
restartChangeDetection
in class ISOUPTree.Node
public boolean PageHinckleyTest(double error, double threshold, int targetIndex)
public void initializeAlternateTree(ISOUPTree tree)
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.