|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
TreeModelDetail holds details of a
tree model. TreeModelDetail is a
recursive partitioning of a multidimensional space
that attempts to create partitions that are
homogeneous with respect to a target. A single
step of the partitioning is done via a predicate
that splits a node into two or more children.
ModelDetail| Method Summary | |
TreeNode |
getNode(int nodeId)
Returns the tree node with the specified identifier. |
int[] |
getNodeIdentifiers()
Returns an array of node identifiers with the tree model. |
TreeNode[] |
getNodes()
Returns all nodes of the decision tree in an arbitrary order. |
TreeNode |
getRootNode()
Returns the top most node of the decision tree. |
Rule |
getRule(int nodeId)
Returns the rule associated with the specified node. |
java.util.Collection |
getRules()
Returns a collection for the rules contained in the tree model details. |
| Method Detail |
public TreeNode getNode(int nodeId)
throws JDMException
nodeId - The identifier of the node to be returned.
JDMExceptionpublic int[] getNodeIdentifiers()
public TreeNode[] getNodes()
throws JDMException
JDMException
public TreeNode getRootNode()
throws JDMException
JDMException
public Rule getRule(int nodeId)
throws JDMException
nodeId - The node ID of the tree model.
JDMException
public java.util.Collection getRules()
throws JDMException
JDMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||