| java.lang.Object weka.classifiers.bayes.net.VaryNode
VaryNode | public class VaryNode implements Serializable(Code) | | Part of ADTree implementation. See ADNode.java for more details.
author: Remco Bouckaert (rrb@xm.co.nz) version: $Revision: 1.5 $ |
Constructor Summary | |
public | VaryNode(int iNode) |
Method Summary | |
public void | getCounts(int[] nCounts, int[] nNodes, int[] nOffsets, int iNode, int iOffset, ADNode parent, boolean bSubstract) | public void | print(String sTab) |
m_ADNodes | public ADNode[] m_ADNodes(Code) | | list of ADNode children *
|
m_iNode | public int m_iNode(Code) | | index of the node varied *
|
m_nMCV | public int m_nMCV(Code) | | most common value *
|
VaryNode | public VaryNode(int iNode)(Code) | | Creates new VaryNode
|
getCounts | public void getCounts(int[] nCounts, int[] nNodes, int[] nOffsets, int iNode, int iOffset, ADNode parent, boolean bSubstract)(Code) | | get counts for specific instantiation of a set of nodes
Parameters: nCounts - array for storing counts Parameters: nNodes - array of node indexes Parameters: nOffsets - offset for nodes in nNodes in nCounts Parameters: iNode - index into nNode indicating current node Parameters: iOffset - Offset into nCounts due to nodes below iNode Parameters: parent - parant ADNode of this VaryNode Parameters: bSubstract - indicate whether counts should be added or substracted |
print | public void print(String sTab)(Code) | | print is used for debugging only, called from ADNode
Parameters: sTab - amount of space. |
|
|