public static class HoeffdingTree.ActiveLearningNode extends HoeffdingTree.LearningNode
Modifier and Type | Field and Description |
---|---|
protected AutoExpandVector<AttributeClassObserver> |
attributeObservers |
protected boolean |
isInitialized |
protected double |
weightSeenAtLastSplitEvaluation |
observedClassDistribution
Constructor and Description |
---|
ActiveLearningNode(double[] initialClassObservations) |
Modifier and Type | Method and Description |
---|---|
int |
calcByteSize() |
void |
disableAttribute(int attIndex) |
AttributeSplitSuggestion[] |
getBestSplitSuggestions(SplitCriterion criterion,
HoeffdingTree ht) |
double |
getWeightSeen() |
double |
getWeightSeenAtLastSplitEvaluation() |
void |
learnFromInstance(Instance inst,
HoeffdingTree ht) |
void |
setWeightSeenAtLastSplitEvaluation(double weight) |
calcByteSizeIncludingSubtree, calculatePromise, describeSubtree, filterInstanceToLeaf, getClassVotes, getDescription, getObservedClassDistribution, isLeaf, observedClassDistributionIsPure, subtreeDepth
copy, copy, measureByteSize, measureByteSize, toString
protected double weightSeenAtLastSplitEvaluation
protected AutoExpandVector<AttributeClassObserver> attributeObservers
protected boolean isInitialized
public int calcByteSize()
calcByteSize
in class HoeffdingTree.Node
public void learnFromInstance(Instance inst, HoeffdingTree ht)
learnFromInstance
in class HoeffdingTree.LearningNode
public double getWeightSeen()
public double getWeightSeenAtLastSplitEvaluation()
public void setWeightSeenAtLastSplitEvaluation(double weight)
public AttributeSplitSuggestion[] getBestSplitSuggestions(SplitCriterion criterion, HoeffdingTree ht)
public void disableAttribute(int attIndex)
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.