de.lmu.ifi.dbs.elki
Class KDDTask

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.KDDTask
All Implemented Interfaces:
InspectionUtilFrequentlyScanned, Parameterizable

public class KDDTask
extends Object
implements Parameterizable

Provides a KDDTask that can be used to perform any algorithm implementing Algorithm using any DatabaseConnection implementing DatabaseConnection.


Nested Class Summary
static class KDDTask.Parameterizer
          Parameterization class.
 
Field Summary
private  AlgorithmStep algorithmStep
          The algorithm (data mining) step.
private  EvaluationStep evaluationStep
          The evaluation step.
private  InputStep inputStep
          The data input step
private  OutputStep outputStep
          The output/visualization step
private  HierarchicalResult result
          The result object.
private  Collection<Pair<Object,Parameter<?,?>>> settings
          The settings used, for settings reporting.
 
Constructor Summary
KDDTask(InputStep inputStep, AlgorithmStep algorithmStep, EvaluationStep evaluationStep, OutputStep outputStep, Collection<Pair<Object,Parameter<?,?>>> settings)
          Constructor.
 
Method Summary
 Result getResult()
          Get the algorithms result.
static void main(String[] args)
          Runs a KDD task accordingly to the specified parameters.
 void run()
          Method to run the specified algorithm using the specified database connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

settings

private Collection<Pair<Object,Parameter<?,?>>> settings
The settings used, for settings reporting.


inputStep

private InputStep inputStep
The data input step


algorithmStep

private AlgorithmStep algorithmStep
The algorithm (data mining) step.


evaluationStep

private EvaluationStep evaluationStep
The evaluation step.


outputStep

private OutputStep outputStep
The output/visualization step


result

private HierarchicalResult result
The result object.

Constructor Detail

KDDTask

public KDDTask(InputStep inputStep,
               AlgorithmStep algorithmStep,
               EvaluationStep evaluationStep,
               OutputStep outputStep,
               Collection<Pair<Object,Parameter<?,?>>> settings)
Constructor.

Parameters:
inputStep -
algorithmStep -
evaluationStep -
outputStep -
settings -
Method Detail

run

public void run()
         throws IllegalStateException
Method to run the specified algorithm using the specified database connection.

Throws:
IllegalStateException - on execution errors

getResult

public Result getResult()
Get the algorithms result.

Returns:
the result

main

public static void main(String[] args)
Runs a KDD task accordingly to the specified parameters.

Parameters:
args - parameter list according to description

Release 0.4.0 (2011-09-20_1324)