MOA 12.03
Real Time Analytics for Data Streams
moa.tasks.EvaluateClustering Class Reference

Task for evaluating a clusterer on a stream. More...

Inheritance diagram for moa.tasks.EvaluateClustering:
Collaboration diagram for moa.tasks.EvaluateClustering:

List of all members.

Public Member Functions

String getPurposeString ()
 Gets the purpose of this object.
Class<?> getTaskResultType ()
 Gets the result type of this task.

Public Attributes

ClassOption learnerOption
ClassOption streamOption
IntOption instanceLimitOption
IntOption measureCollectionTypeOption
FileOption dumpFileOption

Protected Member Functions

Object doMainTask (TaskMonitor monitor, ObjectRepository repository)
 This method performs this task.

Detailed Description

Task for evaluating a clusterer on a stream.

Author:
Albert Bifet (abifet at cs dot waikato dot ac dot nz)
Version:
Revision:
7

Definition at line 37 of file EvaluateClustering.java.


Member Function Documentation

Object moa.tasks.EvaluateClustering.doMainTask ( TaskMonitor  monitor,
ObjectRepository  repository 
) [protected, virtual]

This method performs this task.

AbstractTask implements doTask, that uses doTaskImpl. MainTask implements doTaskImpl using doMainTask so its extensions only need to implement doMainTask.

Parameters:
monitorthe TaskMonitor to use
repositorythe ObjectRepository to use
Returns:
an object with the result of this task

Implements moa.tasks.MainTask.

Definition at line 93 of file EvaluateClustering.java.

Here is the call graph for this function:

String moa.tasks.EvaluateClustering.getPurposeString ( )

Gets the purpose of this object.

Returns:
the string with the purpose of this object

Reimplemented from moa.options.AbstractOptionHandler.

Definition at line 40 of file EvaluateClustering.java.

Class<?> moa.tasks.EvaluateClustering.getTaskResultType ( )

Gets the result type of this task.

Tasks can return LearningCurve, LearningEvaluation, Classifier, String, Instances..

Returns:
a class object of the result of this task

Implements moa.tasks.Task.

Definition at line 88 of file EvaluateClustering.java.


Member Data Documentation

Initial value:
 new FileOption("dumpFile", 'd',
            "File to append intermediate csv reslts to.", "outputClustering.csv", "csv", true)

Definition at line 84 of file EvaluateClustering.java.

Referenced by moa.tasks.EvaluateClustering.doMainTask().

Initial value:
 new IntOption("instanceLimit", 'i',
            "Maximum number of instances to test/train on  (-1 = no limit).",
            100000, -1, Integer.MAX_VALUE)

Definition at line 53 of file EvaluateClustering.java.

Referenced by moa.tasks.EvaluateClustering.doMainTask().

Initial value:
 new ClassOption("learner", 'l',
            "Clusterer to train.", AbstractClusterer.class, "clustream.Clustream")

Definition at line 46 of file EvaluateClustering.java.

Referenced by moa.tasks.EvaluateClustering.doMainTask().

Initial value:
 new IntOption(
            "measureCollectionType", 'm',
            "Type of measure collection", 0, 0,
            Integer.MAX_VALUE)

Definition at line 57 of file EvaluateClustering.java.

Referenced by moa.tasks.EvaluateClustering.doMainTask().

Initial value:
 new ClassOption("stream", 's',
            "Stream to learn from.", RandomRBFGeneratorEvents.class,
            "RandomRBFGeneratorEvents")

Definition at line 49 of file EvaluateClustering.java.

Referenced by moa.tasks.EvaluateClustering.doMainTask().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations