MOA 12.03
Real Time Analytics for Data Streams
moa.tasks.EvaluateInterleavedChunks Class Reference
Inheritance diagram for moa.tasks.EvaluateInterleavedChunks:
Collaboration diagram for moa.tasks.EvaluateInterleavedChunks:

List of all members.

Public Member Functions

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

Public Attributes

ClassOption learnerOption
 Allows to select the trained classifier.
ClassOption streamOption
 Allows to select the stream the classifier will learn.
ClassOption evaluatorOption
 Allows to select the classifier performance evaluation method.
IntOption instanceLimitOption
 Allows to define the maximum number of instances to test/train on (-1 = no limit).
IntOption chunkSizeOption
 Allow to define the training/testing chunk size.
IntOption timeLimitOption
 Allows to define the maximum number of seconds to test/train for (-1 = no limit).
IntOption sampleFrequencyOption
 Defines how often classifier parameters will be calculated.
IntOption maxMemoryOption
 Allows to define the memory limit for the created model.
IntOption memCheckFrequencyOption
 Allows to define the frequency of memory checks.
FileOption dumpFileOption
 Allows to define the output file name and location.

Protected Member Functions

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

Detailed Description

Definition at line 39 of file EvaluateInterleavedChunks.java.


Member Function Documentation

Object moa.tasks.EvaluateInterleavedChunks.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 127 of file EvaluateInterleavedChunks.java.

Here is the call graph for this function:

String moa.tasks.EvaluateInterleavedChunks.getPurposeString ( )

Gets the purpose of this object.

Returns:
the string with the purpose of this object

Reimplemented from moa.options.AbstractOptionHandler.

Definition at line 42 of file EvaluateInterleavedChunks.java.

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

Defines the task's result type.

Implements moa.tasks.Task.

Definition at line 122 of file EvaluateInterleavedChunks.java.


Member Data Documentation

Initial value:
 new IntOption("chunkSize", 'c',
                        "Number of instances in a data chunk.",
                        1000, 1, Integer.MAX_VALUE)

Allow to define the training/testing chunk size.

Definition at line 79 of file EvaluateInterleavedChunks.java.

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

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

Allows to define the output file name and location.

Definition at line 116 of file EvaluateInterleavedChunks.java.

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

Initial value:
 new ClassOption("evaluator", 'e',
                        "Classification performance evaluation method.",
                        ClassificationPerformanceEvaluator.class,
                        "BasicClassificationPerformanceEvaluator")

Allows to select the classifier performance evaluation method.

Definition at line 64 of file EvaluateInterleavedChunks.java.

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

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

Allows to define the maximum number of instances to test/train on (-1 = no limit).

Definition at line 72 of file EvaluateInterleavedChunks.java.

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

Initial value:
 new ClassOption("learner", 'l',
                        "Classifier to train.", Classifier.class, "bayes.NaiveBayes")

Allows to select the trained classifier.

Definition at line 51 of file EvaluateInterleavedChunks.java.

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

Initial value:
 new IntOption("maxMemory", 'b',
                        "Maximum size of model (in bytes). -1 = no limit.", -1, -1,
                        Integer.MAX_VALUE)

Allows to define the memory limit for the created model.

Definition at line 101 of file EvaluateInterleavedChunks.java.

Initial value:
 new IntOption(
                        "memCheckFrequency", 'q',
                        "How many instances between memory bound checks.", 100000, 0,
                        Integer.MAX_VALUE)

Allows to define the frequency of memory checks.

Definition at line 108 of file EvaluateInterleavedChunks.java.

Initial value:
 new IntOption("sampleFrequency",
                        'f',
                        "How many instances between samples of the learning performance.",
                        100000, 0, Integer.MAX_VALUE)

Defines how often classifier parameters will be calculated.

Definition at line 93 of file EvaluateInterleavedChunks.java.

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

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

Allows to select the stream the classifier will learn.

Definition at line 57 of file EvaluateInterleavedChunks.java.

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

Initial value:
 new IntOption("timeLimit", 't',
                        "Maximum number of seconds to test/train for (-1 = no limit).", -1,
                        -1, Integer.MAX_VALUE)

Allows to define the maximum number of seconds to test/train for (-1 = no limit).

Definition at line 86 of file EvaluateInterleavedChunks.java.

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


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