Inheritance diagram for kddml.Core.DataMining.ClassificationTrees.SimpleNode:
Public Member Functions | |
SimpleNode (String score, Predicate p, ScoreDistribution distribution, SimpleNode parent) | |
SimpleNode (String score, ScoreDistribution distribution) | |
Enumeration | getChildren () |
SimpleNodeManager | getChild (int index) throws TreeModelException |
double | getRecordCount () |
String | getScore () |
int | getLevel () |
int | getDepth () |
int | getSize () |
int | getNumberOfLeaves () |
Vector< SimpleNode > | getLeaves () |
SimpleNodeManager | getParent () |
int | getNumOfChildren () |
Predicate | getPredicate () |
ScoreDistributionManager | getDistribution () |
void | setDistribution (ScoreDistributionManager distr) |
boolean | isLeaf () |
boolean | isRoot () |
void | addChild (SimpleNodeManager node) |
boolean | isCompoundTree () |
void | setRecordCount (double record_count) |
String | toString () |
Protected Member Functions | |
Element | toXML () |
Title: KDDML
Description: Knowledge Discovery in Database Environment
Copyright: Copyright (c) 2003-2005
Company: Universita' di Pisa - Dipartimento di Informatica
|
Constructor used for internal node.
|
|
Constructor used for the root node.
|
|
Returns the direct children of this node or null if the node is a leaf node. If null is returned, then isLeaf() must return true for this node and getNumChildren() must return 0.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns the i-esim child of this node. Throws an exception if index is out of bound or the node do not have children.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns the number of cases assigned to this tree node or -1 if the value is not specified.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Return the category of the node assigned by the algorithm.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns the level of this node where level(root)=1. If 1 is returned, then getParent() must return null.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns the depth of this node where the leaves have depth equal to 0.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns the size of the tree, i.e. the number of total nodes of the tree.
Implements kddml.Core.DataMining.ClassificationTrees.NodeManager. |
|
Returns the number of leaves for this node.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns the list of leaves for this node. Returns an empty vector if the node is a leaf.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns parent of this node or null if the node has no parent. If null is returned, then getLevel() of this node must return 1.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns the number of children available for this tree node. If 0 is returned, then isLeaf() must return true for this node and getChildren() must return null.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns the predicate assigned to this node.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns the score distribution of this node. Returns null if no score distribution is created.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Sets the score distribution to this node
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns true if this node is a leaf.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns true if the node is a root
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Adds a new child to this node. Adds the child to the end.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns true if the tree is a compound tree, i.e., a combination with and, or, committee of classification trees. Returns false if the node is part of a simple tree.
Implements kddml.Core.DataMining.ClassificationTrees.NodeManager. |
|
Sets the recond count value to this node.
Implements kddml.Core.DataMining.ClassificationTrees.SimpleNodeManager. |
|
Returns a representation of this object as string.
Implements kddml.Core.DataMining.ClassificationTrees.Node. |
|
Returns a representation of this object as XML element.
Implements kddml.Core.DataMining.ClassificationTrees.Node. |