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

Task for running several experiments modifying values of parameters. More...

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

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 taskOption
StringOption classifierParameterOption
FloatOption firstValueOption
FloatOption lastValueOption
FloatOption incrementValueOption

Protected Member Functions

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

Protected Attributes

Task task

Detailed Description

Task for running several experiments modifying values of parameters.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Albert Bifet (abifet at cs dot waikato dot ac dot nz)
Version:
Revision:
7

Definition at line 35 of file RunTasks.java.


Member Function Documentation

Object moa.tasks.RunTasks.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 67 of file RunTasks.java.

Here is the call graph for this function:

String moa.tasks.RunTasks.getPurposeString ( )

Gets the purpose of this object.

Returns:
the string with the purpose of this object

Reimplemented from moa.options.AbstractOptionHandler.

Definition at line 38 of file RunTasks.java.

Class<?> moa.tasks.RunTasks.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 60 of file RunTasks.java.

Here is the call graph for this function:


Member Data Documentation

Initial value:
 new StringOption("classifierParameter", 'p',
            "Classifier parameter to vary.", "b")

Definition at line 47 of file RunTasks.java.

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

Initial value:
 new FloatOption("firstValue",
            'f', "First value", 0.0)

Definition at line 50 of file RunTasks.java.

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

Initial value:
 new FloatOption("incrementValue",
            'i', "Increment value", 0.1)

Definition at line 56 of file RunTasks.java.

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

Initial value:
 new FloatOption("lastValue",
            'l', "Last value", 1.0)

Definition at line 53 of file RunTasks.java.

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

Initial value:
 new ClassOption("task", 't',
            "Task to do.", Task.class, "EvaluatePrequential -l ActiveClassifier -i 1000000 -d temp.txt")

Definition at line 44 of file RunTasks.java.

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


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