public class Iadem3.AdaptiveLeafNodeNBKirkby extends Iadem3.AdaptiveLeafNodeNB
Modifier and Type | Field and Description |
---|---|
protected int |
majorityClassError |
protected int |
naiveBayesError |
limitNaiveBayes
estimator
allAttUsed, instNodeCountSinceReal, instNodeCountSinceVirtual, instSeenSinceLastSplitAttempt, instTreeCountSinceReal, split, virtualChildren
classValueDist, parent, tree
Constructor and Description |
---|
AdaptiveLeafNodeNBKirkby(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 int naiveBayesError
protected int majorityClassError
public AdaptiveLeafNodeNBKirkby(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.