Inheritance diagram for kddml.Core.DataMining.ClassificationTrees.TreeModel:
Public Member Functions | |
KDDMLObjectType | getType () |
boolean | isEmpty () |
void | saveToRepository () throws kddml.Core.KDDMLCoreException |
String | toString () |
void | saveHTML () throws KDDMLCoreException |
boolean | isDecisionTree () throws KDDMLCoreException |
NodeManager | getRoot () |
ConfusionMatrixManager | getTrainingConfusionMatrix () |
ConfusionMatrixManager | getTestConfusionMatrix () |
void | setTrainingConfusionMatrix (ConfusionMatrixManager cm) |
void | setTestConfusionMatrix (ConfusionMatrixManager cm) |
boolean | isBinarySplitting () |
String | getTargetAttributeName () throws KDDMLCoreException |
String[] | getTargetAttributeValues () throws KDDMLCoreException |
String | classify (Object instance) throws KDDMLCoreException |
Protected Member Functions | |
String | classify (NodeManager node, Instance instance) throws KDDMLCoreException |
ScoreDistribution | getDistribution (SimpleNode node, Instance instance) throws KDDMLCoreException |
Title: KDDML
Description: Knowledge Discovery in Database Environment
Copyright: Copyright (c) 2003-2005
Company: Universita' di Pisa - Dipartimento di Informatica
|
It returns the type of this object.
Implements kddml.Core.KDDMLObject. |
|
Tests if the object is empty. This depends on the type of the object. For example, the method can return true if a table do not contain instances or if an association model do not contain association rules.
Implements kddml.Core.KDDMLObject. |
|
Saves the object into the system repository. The destination path is provided by the object_path variable. Throws an exception if a I/O error occurs.
Implements kddml.Core.KDDMLObject. |
|
Returns a representation of this object as string.
Reimplemented from kddml.Core.DataMining.MiningModel. |
|
Saves the object in the system repository as HTML document.
Implements kddml.Core.HTMLTranslator. |
|
Returns true if the target attribute is binary (i.e. with exactly two category values). Throws an exception if the target attribute connot be found in the mining schema and data dictionary of the model.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Returns the root node for this classification tree.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Returns the training confusion matrix related to the model. Returns null if the model do not have a confusion matrix associated.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Returns the test confusion matrix related to the model. Returns null if the model do not have a confusion matrix associated.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Sets the training confusion matrix to the model.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Sets the test confusion matrix to the model.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Indicates whether the tree model has exactly two children per node, or multiple childrens per node. In the case of binary_split = false, it means that each node may have 2 or more child nodes.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Returns the name of the target attribute. Throws an exception if the target attribute connot be found in the mining schema.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Returns the categories associated to the target attributes. Throws an exception if the target attribute connot be found in the mining schema.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Method used to classify an input instance. Returns the classification value. Cannot be null. Throws an exception is an error occurs.
Implements kddml.Core.DataMining.ClassificationTrees.TreeModelManager. |
|
Returns the prediction target value as string for the input node.
|
|
Returns the distribution related to a node for a given input instance.
|