Main Page | Class Hierarchy | Class List | Class Members

kddml.Operators.DataMining.DMAlgorithmResolverTask Interface Reference

Inheritance diagram for kddml.Operators.DataMining.DMAlgorithmResolverTask:

kddml.Operators.AlgorithmResolverTask kddml.Operators.DataMining.AssociationAlgorithms.AssociationAlgorithmResolverTask kddml.Operators.DataMining.ClassificationAlgorithms.ClassificationAlgorithmResolverTask kddml.Operators.DataMining.ClusteringAlgorithms.ClusteringAlgorithmResolverTask kddml.Operators.DataMining.SequenceAlgorithms.SequenceAlgorithmResolverTask kddml.Operators.DataMining.AssociationAlgorithms.DCI_RESOLVER kddml.Operators.DataMining.ClassificationAlgorithms.CAGE_RESOLVER kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER kddml.Operators.DataMining.ClusteringAlgorithms.EM_RESOLVER kddml.Operators.DataMining.ClusteringAlgorithms.KMEANS_RESOLVER kddml.Operators.DataMining.SequenceAlgorithms.PREFIX_SPAN_RESOLVER List of all members.

Public Member Functions

abstract Object inputFormatting (InternalTableManager instances) throws ResolverException, KDDMLCoreException
abstract Object execute (Object input_formatting_result) throws ResolverException, KDDMLCoreException
void readXMLDestination (String xml_dest)
String[] getTmpFiles ()

Detailed Description

The resolver interface for data mining algorithms.
Mining operators, such as <tree miner=""> and <rda miner="">, call an appropriate algorithm for extracting or applying a model from/to given training/test data. Typically, the algorithm is an external program (such as YaDT, DCI or Weka algorithms) which requires its own input format and provides its own output format. As a consequence, this interface incorporates the functionalities of the execute() method called by a mining operator, and it defines a three-step process in order to extract the final model:
  1. it scans the passed data in order to transform the data source into the format as the algorithm specification requires;
  2. it call the actual algorithm (typically as external program);
  3. finally, it interprets the output generated by the algorithm in order to return an appropriate KDDMLObject.

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

abstract Object kddml.Operators.DataMining.DMAlgorithmResolverTask.inputFormatting InternalTableManager  instances  )  throws ResolverException, KDDMLCoreException [pure 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.

Implemented in kddml.Operators.DataMining.AssociationAlgorithms.DCI_RESOLVER, kddml.Operators.DataMining.ClassificationAlgorithms.CAGE_RESOLVER, kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER, kddml.Operators.DataMining.ClusteringAlgorithms.EM_RESOLVER, kddml.Operators.DataMining.ClusteringAlgorithms.KMEANS_RESOLVER, and kddml.Operators.DataMining.SequenceAlgorithms.PREFIX_SPAN_RESOLVER.

abstract Object kddml.Operators.DataMining.DMAlgorithmResolverTask.execute Object  input_formatting_result  )  throws ResolverException, KDDMLCoreException [pure 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:
input_formatting_result 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.

Implemented in kddml.Operators.DataMining.AssociationAlgorithms.DCI_RESOLVER, kddml.Operators.DataMining.ClassificationAlgorithms.CAGE_RESOLVER, kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER, kddml.Operators.DataMining.ClusteringAlgorithms.EM_RESOLVER, kddml.Operators.DataMining.ClusteringAlgorithms.KMEANS_RESOLVER, and kddml.Operators.DataMining.SequenceAlgorithms.PREFIX_SPAN_RESOLVER.

void kddml.Operators.DataMining.DMAlgorithmResolverTask.readXMLDestination String  xml_dest  ) 
 

Reads the XML destination that stores the final result.

Parameters:
xml_dest String

Implemented in kddml.Operators.DataMining.AssociationAlgorithms.DCI_RESOLVER, kddml.Operators.DataMining.ClassificationAlgorithms.CAGE_RESOLVER, kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER, kddml.Operators.DataMining.ClusteringAlgorithms.EM_RESOLVER, kddml.Operators.DataMining.ClusteringAlgorithms.KMEANS_RESOLVER, and kddml.Operators.DataMining.SequenceAlgorithms.PREFIX_SPAN_RESOLVER.

String [] kddml.Operators.DataMining.DMAlgorithmResolverTask.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[]

Implemented in kddml.Operators.DataMining.AssociationAlgorithms.DCI_RESOLVER, kddml.Operators.DataMining.ClassificationAlgorithms.CAGE_RESOLVER, kddml.Operators.DataMining.ClassificationAlgorithms.YADT_RESOLVER, kddml.Operators.DataMining.ClusteringAlgorithms.EM_RESOLVER, kddml.Operators.DataMining.ClusteringAlgorithms.KMEANS_RESOLVER, and kddml.Operators.DataMining.SequenceAlgorithms.PREFIX_SPAN_RESOLVER.


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