oracle.dmt.odm.model
Class TreeNode

java.lang.Object
  |
  +--oracle.dmt.odm.MiningObject
        |
        +--oracle.dmt.odm.model.TreeNode
All Implemented Interfaces:
java.io.Serializable

public class TreeNode
extends MiningObject

An instance of TreeNode characterizes a partition of a multidimensional dataset. It is extracted from metadata that results from a mining (training) run. This information forms part of a rule that can be used to construct a human interpretable view of factors that correlate to the target. Its ancester nodes contain the set of predicates that form a sub-rule that classifies the rows of a dataset as being in or not in the node. Its predicate, if any, define its child nodes. Nodes without children are called leaves. The set of leaves in the selected subtree form the decision tree's final partitioning of the multidimensional data. In addition, a treenode may contain a score distribution, which characterizes the distribution of data at that node with respect to a reference dataset.

Since:
9.2.0
See Also:
Serialized Form

Constructor Summary
TreeNode()
           
 
Method Summary
TypeMethod
 TreeNode[] getChildren()
          Returns the array of child TreeNodes associated with this tree node.
 TreeNode getParent()
          Returns the parent TreeNode of this tree node.
 Predicate getPredicate()
          Returns the Predicate, if any, characterizing the relation between the node and its children.
 Category getPredictedTargetValue()
          Returns the highest probability predicted target value associated with this tree node.
 int getTreeNum()
          Returns the tree number associated with this tree node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeNode

public TreeNode()
Method Detail

getPredicate

public Predicate getPredicate()
Returns the Predicate, if any, characterizing the relation between the node and its children.
Returns:
Predicate - the predicate

getChildren

public TreeNode[] getChildren()
Returns the array of child TreeNodes associated with this tree node.
Returns:
TreeNode[] - array of child tree nodes

getPredictedTargetValue

public Category getPredictedTargetValue()
Returns the highest probability predicted target value associated with this tree node.
Returns:
Category - highest probability predicted target value

getTreeNum

public int getTreeNum()
Returns the tree number associated with this tree node.
Returns:
int - tree number

getParent

public TreeNode getParent()
Returns the parent TreeNode of this tree node.
Returns:
TreeNode - parent tree node