Package moa.classifiers.trees
Class ORTO.OptionNode
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.trees.FIMTDD.Node
-
- moa.classifiers.trees.FIMTDD.InnerNode
-
- moa.classifiers.trees.ORTO.OptionNode
-
- All Implemented Interfaces:
Serializable
,MOAObject
- Enclosing class:
- ORTO
public static class ORTO.OptionNode extends FIMTDD.InnerNode
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected double[]
optionFFSeen
protected double[]
optionFFSSL
-
Fields inherited from class moa.classifiers.trees.FIMTDD.InnerNode
children, lossExamplesSeen, lossFadedSumAlternate, lossFadedSumOriginal, lossNumQiTests, lossSumQi, PHmin, PHsum, previousWeight
-
Fields inherited from class moa.classifiers.trees.FIMTDD.Node
alternateTree, changeDetection, examplesSeen, ID, originalNode, parent, sumOfAbsErrors, sumOfSquares, sumOfValues, tree
-
-
Constructor Summary
Constructors Constructor Description OptionNode(FIMTDD tree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
directionForBestTree()
double
getFFRatio(int childIndex)
int
getNumSubtrees()
double
getPrediction(Instance inst, ORTO tree)
void
resetFF()
protected boolean
skipInLevelCount()
-
Methods inherited from class moa.classifiers.trees.FIMTDD.InnerNode
disableChangeDetection, getChild, getChildIndex, initializeAlternateTree, numChildren, PageHinckleyTest, restartChangeDetection, setChild
-
Methods inherited from class moa.classifiers.trees.FIMTDD.Node
calcByteSize, copyStatistics, describeSubtree, getDescription, getLevel, getParent, getPrediction, setParent
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
-
-
-
Constructor Detail
-
OptionNode
public OptionNode(FIMTDD tree)
-
-
Method Detail
-
resetFF
public void resetFF()
-
getNumSubtrees
public int getNumSubtrees()
- Overrides:
getNumSubtrees
in classFIMTDD.Node
-
directionForBestTree
public int directionForBestTree()
-
getFFRatio
public double getFFRatio(int childIndex)
-
skipInLevelCount
protected boolean skipInLevelCount()
- Overrides:
skipInLevelCount
in classFIMTDD.Node
-
-