public class LeafNode extends HNode implements Serializable
| Modifier and Type | Field and Description |
|---|---|
String |
m_parentBranch
Parent branch leading to this node
|
SplitNode |
m_parentNode
Parent split node
|
HNode |
m_theNode
The actual node for this leaf
|
m_classDistribution| Constructor and Description |
|---|
LeafNode()
Construct an empty leaf node
|
LeafNode(HNode node,
SplitNode parentNode,
String parentBranch)
Construct a leaf node with the given actual node, parent and parent branch
|
| Modifier and Type | Method and Description |
|---|---|
void |
updateNode(Instance inst)
Update the node with the supplied instance
|
classDistributionIsPure, getDistribution, graphTree, installNodeNums, isLeaf, leafForInstance, numEntriesInClassDistribution, toString, totalWeight, updateDistributionCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.