Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER Class Reference

Inheritance diagram for kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER:

kddml.Operators.DataMining.ClassificationAlgorithms.ClassificationAlgorithmResolverTask kddml.Operators.DataMining.DMAlgorithmResolverTask kddml.Operators.AlgorithmResolverTask List of all members.

Public Member Functions

void readParameters (Hashtable< String, KDDMLScalarManager > parameters) throws ResolverException, KDDMLCoreException
void readXMLDestination (String xml_dest)
void readTargetAttribute (String target_attribute)
Object inputFormatting (InternalTableManager instances) throws ResolverException, KDDMLCoreException
Object execute (Object obj) throws ResolverException, KDDMLCoreException
TreeModel outputFormatting (Object tree) throws ResolverException, KDDMLCoreException
String[] getTmpFiles ()

Detailed Description

YadT (Yet Another Decision Tree builder) is an efficient implementation of the entropy-based decision tree construction algorithm which vastly improves the computational performance over the well-known C4.5. It has been designed and implemented in C++ with strong emphasis on efficiency (time and space) and portability (Windows/Linux).
YaDT algorithm supports nominal or continuous attributes only: no string attributes are allowed in the input table.

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

void kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER.readParameters Hashtable< String, KDDMLScalarManager parameters  )  throws ResolverException, KDDMLCoreException
 

Reads the XML parameters related to a generic algorithm stored in the ALGORITHM entity. An algorithm settings object captures the parameters associated with a particular algorithm. It allows a knowledgeable user to fine tune algorithm parameters. Generally, not all parameters must be specified, however, those specified are taken into account by the KDDML.
Parameters are given as hashtable, where the key is the name of the parameter related to the algorithm and the value is a KDDMLScalar object containing the parameter value. Parameter value is checked by the interpreter layer and its type is correct.

Parameters:
parameters Hashtable the parameters related to the algorithm. The key of the hashtable is the name of the parameter. The value of the hashtable is a KDDMLScalar representing the value of the parameter.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implements kddml.Operators.AlgorithmResolverTask.

void kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER.readXMLDestination String  xml_dest  ) 
 

Reads the XML destination that stores the final result.

Parameters:
xml_dest String

Implements kddml.Operators.DataMining.DMAlgorithmResolverTask.

void kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER.readTargetAttribute String  target_attribute  )  [virtual]
 

Reads the input target attribute.

Parameters:
target_attribute String

Implements kddml.Operators.DataMining.ClassificationAlgorithms.ClassificationAlgorithmResolverTask.

Object kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER.inputFormatting InternalTableManager  instances  )  throws ResolverException, KDDMLCoreException [virtual]
 

Formatting of the input dataset. It scans the passed data in order to transform the data source into the format as the algorithm specification requires. The method returns a generic java.lang.Object (e.g. the name of the temporary file created during the formatting process) that is used as input of the excute() method.

Parameters:
instances InternalTableManager the data set to scan.
Returns:
Object the generic object used as input of the excute() method. Can be null.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implements kddml.Operators.DataMining.DMAlgorithmResolverTask.

Object kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER.execute Object  obj  )  throws ResolverException, KDDMLCoreException [virtual]
 

Main execute method. It takes the result of the inputFormatting() method and, tipically, the procedure calls an external DM library implemented in C,C++ in order to extract the model. The method returns a generic java.lang.Object (e.g. the name of the temporary file created during the extraction process) that is used as input of the outputFormatting(Object obj) method.

Parameters:
obj Object the result of the inputFormatting() method.
Returns:
Object the generic object used as input of the outputFormatting() method. Can be null.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implements kddml.Operators.DataMining.DMAlgorithmResolverTask.

TreeModel kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER.outputFormatting Object  tree  )  throws ResolverException, KDDMLCoreException [virtual]
 

Interprets the output generated by the algorithm in order to return an appropriate AssociationModel. The method takes as input a generic java.lang.Object that is the result of the execute() method.

Parameters:
tree Object the result of the execute() method. It can be null.
Returns:
AssociationModel the final result of the extraction process.
Exceptions:
ResolverException if a resolving error occurs.
KDDMLCoreException if a level core error occurs.

Implements kddml.Operators.DataMining.ClassificationAlgorithms.ClassificationAlgorithmResolverTask.

String [] kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER.getTmpFiles  ) 
 

Returns the list of temporary files used during the mining. Files will be removed at the end of execution of the algorithm. Returns an empty array if the algorithm do not generate temporary files.

Returns:
String[]

Implements kddml.Operators.DataMining.DMAlgorithmResolverTask.


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