public class ActiveHNode extends LeafNode implements LearningNode, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
double |
m_weightSeenAtLastSplitEval
The weight of instances seen at the last split evaluation
|
m_parentBranch, m_parentNode, m_theNode
m_classDistribution
Constructor and Description |
---|
ActiveHNode() |
Modifier and Type | Method and Description |
---|---|
java.util.List<SplitCandidate> |
getPossibleSplits(SplitMetric splitMetric)
Returns a list of split candidates
|
void |
updateNode(Instance inst)
Update the node with the supplied instance
|
classDistributionIsPure, getDistribution, graphTree, installNodeNums, isLeaf, leafForInstance, numEntriesInClassDistribution, toString, totalWeight, updateDistribution
public double m_weightSeenAtLastSplitEval
public void updateNode(Instance inst) throws java.lang.Exception
HNode
updateNode
in class LeafNode
inst
- the instance to update withjava.lang.Exception
- if a problem occurspublic java.util.List<SplitCandidate> getPossibleSplits(SplitMetric splitMetric)
splitMetric
- the splitting metric to use