public class ActiveHNode extends LeafNode implements LearningNode, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,ConditionalSufficientStats> |
m_nodeStats
Statistics for nominal or numeric attributes conditioned on the class
|
double |
m_weightSeenAtLastSplitEval
The weight of instances seen at the last split evaluation
|
m_parentBranch, m_parentNode, m_theNodem_classDistribution, m_leafNum, m_nodeNum| 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, dumpTree, getDistribution, graphTree, installNodeNums, isLeaf, leafForInstance, numEntriesInClassDistribution, printLeafModels, toString, totalWeight, updateDistributionpublic double m_weightSeenAtLastSplitEval
protected java.util.Map<java.lang.String,ConditionalSufficientStats> m_nodeStats
public void updateNode(Instance inst) throws java.lang.Exception
HNodeupdateNode in class LeafNodeinst - the instance to update withjava.lang.Exception - if a problem occurspublic java.util.List<SplitCandidate> getPossibleSplits(SplitMetric splitMetric)
splitMetric - the splitting metric to use