Package weka.classifiers.trees.ht
Class InactiveHNode
java.lang.Object
weka.classifiers.trees.ht.HNode
weka.classifiers.trees.ht.LeafNode
weka.classifiers.trees.ht.InactiveHNode
- All Implemented Interfaces:
Serializable,LearningNode
Class implementing an inactive node (i.e. one that does not allow growth)
- Version:
- $Revision: 9705 $
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz), Mark Hall (mhall{[at]}pentaho{[dot]}com)
- See Also:
-
Field Summary
Fields inherited from class weka.classifiers.trees.ht.LeafNode
m_parentBranch, m_parentNode, m_theNodeFields inherited from class weka.classifiers.trees.ht.HNode
m_classDistribution -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateNode(Instance inst) Update the node with the supplied instanceMethods inherited from class weka.classifiers.trees.ht.HNode
classDistributionIsPure, getDistribution, graphTree, installNodeNums, isLeaf, leafForInstance, numEntriesInClassDistribution, toString, totalWeight, updateDistribution
-
Constructor Details
-
InactiveHNode
Constructor- Parameters:
classDistrib- the class distribution at this node
-
-
Method Details
-
updateNode
Description copied from class:HNodeUpdate the node with the supplied instance- Overrides:
updateNodein classLeafNode- Parameters:
inst- the instance to update with
-