public class Iadem3.AdaptiveLeafNodeNBAdaptive extends Iadem3.AdaptiveLeafNodeNB
Modifier and Type | Field and Description |
---|---|
protected AbstractChangeDetector |
majorityClassError |
protected AbstractChangeDetector |
naiveBayesError |
limitNaiveBayes
estimator
allAttUsed, instNodeCountSinceReal, instNodeCountSinceVirtual, instSeenSinceLastSplitAttempt, instTreeCountSinceReal, split, virtualChildren
classValueDist, parent, tree
Constructor and Description |
---|
AdaptiveLeafNodeNBAdaptive(Iadem3 tree,
Iadem2.Node parent,
long instancesProcessedByTheTree,
long instancesProcessedByThisLeaf,
double[] classDist,
IademNumericAttributeObserver observadorContinuos,
int naiveBayesLimit,
boolean onlyMultiwayTest,
boolean onlyBinaryTest,
AbstractChangeDetector estimator,
Instance instance) |
Modifier and Type | Method and Description |
---|---|
double[] |
getClassVotes(Instance instance) |
Iadem2.Node |
learnFromInstance(Instance inst) |
getNaiveBayesPrediction
attemptToSplit, createVirtualNodes, doSplit, restartVariablesAtDrift
getBestSplitSuggestion, getBestSplitSuggestionIADEM, getFastSplitSuggestion, getInstNodeCountSinceVirtual, getInstSeenSinceLastSplitAttempt, getLeaves, getMajorityClassVotes, getNumberOfNodes, getSubtreeNodeCount, getTree, getVirtualChildren, hasInformationToSplit, isAllAttUsed, nominalAttUsed, setInstSeenSinceLastSplitAttempt, setSplit, setVirtualChildren
getChildCount, getClassValueDist, getParent, setClassValueDist, setParent, setTree
protected AbstractChangeDetector naiveBayesError
protected AbstractChangeDetector majorityClassError
public AdaptiveLeafNodeNBAdaptive(Iadem3 tree, Iadem2.Node parent, long instancesProcessedByTheTree, long instancesProcessedByThisLeaf, double[] classDist, IademNumericAttributeObserver observadorContinuos, int naiveBayesLimit, boolean onlyMultiwayTest, boolean onlyBinaryTest, AbstractChangeDetector estimator, Instance instance)
public double[] getClassVotes(Instance instance)
getClassVotes
in class Iadem3.AdaptiveLeafNodeNB
public Iadem2.Node learnFromInstance(Instance inst)
learnFromInstance
in class Iadem3.AdaptiveLeafNode
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.