public static class FIMTDD.SplitNode extends FIMTDD.Node
Modifier and Type | Field and Description |
---|---|
protected AutoExpandVector<FIMTDD.Node> |
children |
protected double |
lossExamplesSeen |
protected double |
lossFadedSumAlternate |
protected double |
lossFadedSumOriginal |
protected double |
lossNumQiTests |
protected double |
lossSumQi |
protected double |
previousWeight |
protected InstanceConditionalTest |
splitTest |
alternateTree, attributeObservers, changeDetection, examplesSeen, ID, originalNode, parent, PHmin, PHsum, sumOfAbsErrors, sumOfSquares, sumOfValues, weightSeenAtLastSplitEvaluation
Constructor and Description |
---|
FIMTDD.SplitNode(InstanceConditionalTest splitTest,
FIMTDD tree)
Create a new SplitNode
|
Modifier and Type | Method and Description |
---|---|
int |
countLeaves() |
void |
describeSubtree(FIMTDD tree,
StringBuilder out,
int indent) |
void |
disableChangeDetection() |
FIMTDD.Node |
getChild(int i) |
int |
getChildIndex(FIMTDD.Node child) |
double |
getPrediction(weka.core.Instance inst,
FIMTDD tree) |
void |
initializeAlternateTree(FIMTDD tree) |
int |
instanceChildIndex(weka.core.Instance inst) |
void |
restartChangeDetection() |
protected void |
setChild(int i,
FIMTDD.Node child) |
calcByteSize, calcByteSizeIncludingSubtree, copyStatistics, examplesSeen, getDescription, getParent, isLeaf, PageHinckleyTest, setParent
copy, copy, measureByteSize, measureByteSize, toString
protected InstanceConditionalTest splitTest
protected AutoExpandVector<FIMTDD.Node> children
protected double lossExamplesSeen
protected double lossFadedSumOriginal
protected double lossFadedSumAlternate
protected double lossNumQiTests
protected double lossSumQi
protected double previousWeight
public FIMTDD.SplitNode(InstanceConditionalTest splitTest, FIMTDD tree)
tree
- public void disableChangeDetection()
disableChangeDetection
in class FIMTDD.Node
public void restartChangeDetection()
restartChangeDetection
in class FIMTDD.Node
protected void setChild(int i, FIMTDD.Node child)
public int instanceChildIndex(weka.core.Instance inst)
public FIMTDD.Node getChild(int i)
public int getChildIndex(FIMTDD.Node child)
public void initializeAlternateTree(FIMTDD tree)
public int countLeaves()
countLeaves
in class FIMTDD.Node
public void describeSubtree(FIMTDD tree, StringBuilder out, int indent)
describeSubtree
in class FIMTDD.Node
public double getPrediction(weka.core.Instance inst, FIMTDD tree)
getPrediction
in class FIMTDD.Node
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.