MOA 12.03
Real Time Analytics for Data Streams
|
Task for storing and shuffling examples in memory. More...
Public Member Functions | |
String | getPurposeString () |
Gets the purpose of this object. | |
Class<?> | getTaskResultType () |
Gets the result type of this task. | |
Public Attributes | |
ClassOption | streamOption |
IntOption | maximumCacheSizeOption |
IntOption | shuffleRandomSeedOption |
Protected Member Functions | |
Object | doTaskImpl (TaskMonitor monitor, ObjectRepository repository) |
This method performs this task. |
Task for storing and shuffling examples in memory.
Definition at line 37 of file CacheShuffledStream.java.
Object moa.tasks.CacheShuffledStream.doTaskImpl | ( | TaskMonitor | monitor, |
ObjectRepository | repository | ||
) | [protected, virtual] |
This method performs this task.
AbstractTask
implements doTask
so all its extensions only need to implement doTaskImpl
.
monitor | the TaskMonitor to use |
repository | the ObjectRepository to use |
Implements moa.tasks.AbstractTask.
Definition at line 59 of file CacheShuffledStream.java.
String moa.tasks.CacheShuffledStream.getPurposeString | ( | ) |
Gets the purpose of this object.
Reimplemented from moa.options.AbstractOptionHandler.
Definition at line 40 of file CacheShuffledStream.java.
Class<?> moa.tasks.CacheShuffledStream.getTaskResultType | ( | ) |
Gets the result type of this task.
Tasks can return LearningCurve, LearningEvaluation, Classifier, String, Instances..
Implements moa.tasks.Task.
Definition at line 88 of file CacheShuffledStream.java.
new IntOption("maximumCacheSize", 'm', "Maximum number of instances to cache.", 1000000, 1, Integer.MAX_VALUE)
Definition at line 50 of file CacheShuffledStream.java.
Referenced by moa.tasks.CacheShuffledStream.doTaskImpl().
new IntOption( "shuffleRandomSeed", 'r', "Seed for random shuffling of instances.", 1)
Definition at line 54 of file CacheShuffledStream.java.
Referenced by moa.tasks.CacheShuffledStream.doTaskImpl().
new ClassOption("stream", 's', "Stream to cache and shuffle.", InstanceStream.class, "generators.RandomTreeGenerator")
Definition at line 46 of file CacheShuffledStream.java.
Referenced by moa.tasks.CacheShuffledStream.doTaskImpl().