Package moa.classifiers.trees.iadem
Class Iadem3.AdaptiveLeafNodeWeightedVote
- java.lang.Object
-
- moa.classifiers.trees.iadem.Iadem2.Node
-
- moa.classifiers.trees.iadem.Iadem2.LeafNode
-
- moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNode
-
- moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNodeNB
-
- moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNodeNBAdaptive
-
- moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNodeWeightedVote
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Iadem3
public class Iadem3.AdaptiveLeafNodeWeightedVote extends Iadem3.AdaptiveLeafNodeNBAdaptive
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNodeNBAdaptive
majorityClassError, naiveBayesError
-
Fields inherited from class moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNodeNB
limitNaiveBayes
-
Fields inherited from class moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNode
estimator
-
Fields inherited from class moa.classifiers.trees.iadem.Iadem2.LeafNode
allAttUsed, instNodeCountSinceReal, instNodeCountSinceVirtual, instSeenSinceLastSplitAttempt, instTreeCountSinceReal, split, virtualChildren
-
Fields inherited from class moa.classifiers.trees.iadem.Iadem2.Node
classValueDist, parent, tree
-
-
Constructor Summary
Constructors Constructor Description AdaptiveLeafNodeWeightedVote(Iadem3 tree, Iadem2.Node parent, long instTreeCountSinceVirtual, long instNodeCountSinceVirtual, double[] classDist, IademNumericAttributeObserver observadorContinuos, int naiveBayesLimit, boolean onlyMultiwayTest, boolean onlyBinaryTest, AbstractChangeDetector estimator, Instance instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getClassVotes(Instance instance)
protected boolean
isSignificantlyGreaterThan(double mean1, double mean2, int n1, int n2)
-
Methods inherited from class moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNodeNBAdaptive
learnFromInstance
-
Methods inherited from class moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNodeNB
getNaiveBayesPrediction
-
Methods inherited from class moa.classifiers.trees.iadem.Iadem3.AdaptiveLeafNode
attemptToSplit, createVirtualNodes, doSplit, restartVariablesAtDrift
-
Methods inherited from class moa.classifiers.trees.iadem.Iadem2.LeafNode
getBestSplitSuggestion, getBestSplitSuggestionIADEM, getFastSplitSuggestion, getInstNodeCountSinceVirtual, getInstSeenSinceLastSplitAttempt, getLeaves, getMajorityClassVotes, getNumberOfNodes, getSubtreeNodeCount, getTree, getVirtualChildren, hasInformationToSplit, isAllAttUsed, nominalAttUsed, setInstSeenSinceLastSplitAttempt, setSplit, setVirtualChildren
-
Methods inherited from class moa.classifiers.trees.iadem.Iadem2.Node
getChildCount, getClassValueDist, getParent, setClassValueDist, setParent, setTree
-
-
-
-
Constructor Detail
-
AdaptiveLeafNodeWeightedVote
public AdaptiveLeafNodeWeightedVote(Iadem3 tree, Iadem2.Node parent, long instTreeCountSinceVirtual, long instNodeCountSinceVirtual, double[] classDist, IademNumericAttributeObserver observadorContinuos, int naiveBayesLimit, boolean onlyMultiwayTest, boolean onlyBinaryTest, AbstractChangeDetector estimator, Instance instance)
-
-
Method Detail
-
getClassVotes
public double[] getClassVotes(Instance instance)
- Overrides:
getClassVotes
in classIadem3.AdaptiveLeafNodeNBAdaptive
-
isSignificantlyGreaterThan
protected boolean isSignificantlyGreaterThan(double mean1, double mean2, int n1, int n2)
-
-