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