public class ActiveHNode extends LeafNode implements LearningNode, 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_theNodem_classDistribution| Constructor and Description |
|---|
ActiveHNode() |
| Modifier and Type | Method and Description |
|---|---|
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, updateDistributionpublic double m_weightSeenAtLastSplitEval
public void updateNode(Instance inst) throws Exception
HNodeupdateNode in class LeafNodeinst - the instance to update withException - if a problem occurspublic List<SplitCandidate> getPossibleSplits(SplitMetric splitMetric)
splitMetric - the splitting metric to useCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.