Package moa.classifiers.multilabel.trees
Class ISOUPTree.InnerNode
- java.lang.Object
-
- moa.classifiers.multilabel.trees.ISOUPTree.Node
-
- moa.classifiers.multilabel.trees.ISOUPTree.InnerNode
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ISOUPTree.SplitNode
- Enclosing class:
- ISOUPTree
public abstract static class ISOUPTree.InnerNode extends ISOUPTree.Node
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class moa.classifiers.multilabel.trees.ISOUPTree.Node
alternateTree, changeDetection, examplesSeen, ID, originalNode, parent, sumOfInputSquares, sumOfInputValues, sumOfSquares, sumOfValues, tree, weightOfInputs, weightSeenAtLastSplitEvaluation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
calcByteSize()
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 updatingvoid
restartChangeDetection()
void
setChild(int i, ISOUPTree.Node child)
-
Methods inherited from class moa.classifiers.multilabel.trees.ISOUPTree.Node
copyStatistics, describeSubtree, getDescription, getLevel, getNumSubtrees, getParent, getPrediction, setParent, skipInLevelCount
-
-
-
-
Field Detail
-
children
protected AutoExpandVector<ISOUPTree.Node> children
-
sumOfAbsErrors
protected DoubleVector sumOfAbsErrors
-
PHsums
protected DoubleVector PHsums
-
PHmins
protected DoubleVector PHmins
-
lossExamplesSeen
protected double lossExamplesSeen
-
lossFadedSumOriginal
protected double lossFadedSumOriginal
-
lossFadedSumAlternate
protected double lossFadedSumAlternate
-
lossNumQiTests
protected double lossNumQiTests
-
lossSumQi
protected double lossSumQi
-
previousWeight
protected double previousWeight
-
-
Constructor Detail
-
InnerNode
public InnerNode(ISOUPTree tree)
-
-
Method Detail
-
calcByteSize
public long calcByteSize()
- Overrides:
calcByteSize
in classISOUPTree.Node
-
numChildren
public int numChildren()
-
getChild
public ISOUPTree.Node getChild(int i)
-
getChildIndex
public int getChildIndex(ISOUPTree.Node child)
- Overrides:
getChildIndex
in classISOUPTree.Node
-
setChild
public void setChild(int i, ISOUPTree.Node child)
- Overrides:
setChild
in classISOUPTree.Node
-
disableChangeDetection
public void disableChangeDetection()
- Overrides:
disableChangeDetection
in classISOUPTree.Node
-
restartChangeDetection
public void restartChangeDetection()
- Overrides:
restartChangeDetection
in classISOUPTree.Node
-
PageHinckleyTest
public boolean PageHinckleyTest(double error, double threshold, int targetIndex)
Check to see if the tree needs updating
-
initializeAlternateTree
public void initializeAlternateTree(ISOUPTree tree)
-
-