Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.ClassificationTrees.TreeModelManager Interface Reference

Inheritance diagram for kddml.Core.DataMining.ClassificationTrees.TreeModelManager:

kddml.Core.DataMining.MiningModelManager kddml.Core.DataMining.ClassificationTrees.TreeModel List of all members.

Public Member Functions

String classify (Object instance) 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

Detailed Description

A manager interface for classification trees.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Member Function Documentation

String kddml.Core.DataMining.ClassificationTrees.TreeModelManager.classify Object  instance  )  throws KDDMLCoreException
 

Method used to classify an input instance. Returns the classification value. Cannot be null. Throws an exception is an error occurs.

Parameters:
instance Object a generic input instance.
Exceptions:
KDDMLCoreException 
Returns:
String the classification balue. Cannot be null.

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.

boolean kddml.Core.DataMining.ClassificationTrees.TreeModelManager.isDecisionTree  )  throws KDDMLCoreException
 

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.

Exceptions:
KDDMLCoreException 
Returns:
boolean

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.

NodeManager kddml.Core.DataMining.ClassificationTrees.TreeModelManager.getRoot  ) 
 

Returns the root node for this classification tree.

Returns:
NodeManager

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.

ConfusionMatrixManager kddml.Core.DataMining.ClassificationTrees.TreeModelManager.getTrainingConfusionMatrix  ) 
 

Returns the training confusion matrix related to the model. Returns null if the model do not have a confusion matrix associated.

Returns:
ConfusionMatrixManager the training confusion matrix or null.

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.

ConfusionMatrixManager kddml.Core.DataMining.ClassificationTrees.TreeModelManager.getTestConfusionMatrix  ) 
 

Returns the test confusion matrix related to the model. Returns null if the model do not have a confusion matrix associated.

Returns:
ConfusionMatrixManager the test confusion matrix or null.

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.

void kddml.Core.DataMining.ClassificationTrees.TreeModelManager.setTrainingConfusionMatrix ConfusionMatrixManager  cm  ) 
 

Sets the training confusion matrix to the model.

Parameters:
cm ConfusionMatrixManager

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.

void kddml.Core.DataMining.ClassificationTrees.TreeModelManager.setTestConfusionMatrix ConfusionMatrixManager  cm  ) 
 

Sets the test confusion matrix to the model.

Parameters:
cm ConfusionMatrixManager

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.

boolean kddml.Core.DataMining.ClassificationTrees.TreeModelManager.isBinarySplitting  ) 
 

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.

Returns:
boolean true if the model has exactly two clindren per node. False otherwise.

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.

String kddml.Core.DataMining.ClassificationTrees.TreeModelManager.getTargetAttributeName  )  throws KDDMLCoreException
 

Returns the name of the target attribute. Throws an exception if the target attribute connot be found in the mining schema.

Exceptions:
KDDMLCoreException 
Returns:
String

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.

String [] kddml.Core.DataMining.ClassificationTrees.TreeModelManager.getTargetAttributeValues  )  throws KDDMLCoreException
 

Returns the categories associated to the target attributes. Throws an exception if the target attribute connot be found in the mining schema.

Exceptions:
KDDMLCoreException 
Returns:
String[]

Implemented in kddml.Core.DataMining.ClassificationTrees.TreeModel.


Generated on Thu Feb 23 13:04:40 2006 for kddml by  doxygen 1.4.3