Package moa.gui.experimentertab.tasks
Class EvaluateInterleavedChunks
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.tasks.AbstractTask
-
- moa.gui.experimentertab.tasks.ExperimenterTask
-
- moa.gui.experimentertab.tasks.EvaluateInterleavedChunks
-
- All Implemented Interfaces:
Configurable
,Serializable
,MOAObject
,OptionHandler
,Task
public class EvaluateInterleavedChunks extends ExperimenterTask
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description IntOption
chunkSizeOption
Allow to define the training/testing chunk size.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
maxMemoryOption
Allows to define the memory limit for the created model.IntOption
memCheckFrequencyOption
Allows to define the frequency of memory checks.IntOption
sampleFrequencyOption
Defines how often classifier parameters will be calculated.IntOption
timeLimitOption
Allows to define the maximum number of seconds to test/train for (-1 = no limit).-
Fields inherited from class moa.options.AbstractOptionHandler
config
-
-
Constructor Summary
Constructors Constructor Description EvaluateInterleavedChunks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
doTaskImpl(TaskMonitor monitor, ObjectRepository repository)
This method performs this task.String
getPurposeString()
Dictionary with option texts and objectsClass<?>
getTaskResultType()
Defines the task's result type.-
Methods inherited from class moa.tasks.AbstractTask
doTask, doTask, getDescription, getTaskName, prepareForUseImpl
-
Methods inherited from class moa.options.AbstractOptionHandler
copy, getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
-
Methods inherited from class moa.AbstractMOAObject
copy, measureByteSize, measureByteSize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.MOAObject
measureByteSize
-
-
-
-
Field Detail
-
evaluatorOption
public ClassOption evaluatorOption
Allows to select the classifier performance evaluation method.
-
instanceLimitOption
public IntOption instanceLimitOption
Allows to define the maximum number of instances to test/train on (-1 = no limit).
-
chunkSizeOption
public IntOption chunkSizeOption
Allow to define the training/testing chunk size.
-
timeLimitOption
public IntOption timeLimitOption
Allows to define the maximum number of seconds to test/train for (-1 = no limit).
-
sampleFrequencyOption
public IntOption sampleFrequencyOption
Defines how often classifier parameters will be calculated.
-
maxMemoryOption
public IntOption maxMemoryOption
Allows to define the memory limit for the created model.
-
memCheckFrequencyOption
public IntOption memCheckFrequencyOption
Allows to define the frequency of memory checks.
-
-
Method Detail
-
getPurposeString
public String getPurposeString()
Description copied from class:AbstractOptionHandler
Dictionary with option texts and objects- Specified by:
getPurposeString
in interfaceOptionHandler
- Overrides:
getPurposeString
in classAbstractOptionHandler
- Returns:
- the string with the purpose of this object
-
getTaskResultType
public Class<?> getTaskResultType()
Defines the task's result type.- Returns:
- a class object of the result of this task
-
doTaskImpl
protected Object doTaskImpl(TaskMonitor monitor, ObjectRepository repository)
Description copied from class:AbstractTask
This method performs this task.AbstractTask
implementsdoTask
so all its extensions only need to implementdoTaskImpl
.- Specified by:
doTaskImpl
in classAbstractTask
- Parameters:
monitor
- the TaskMonitor to userepository
- the ObjectRepository to use- Returns:
- an object with the result of this task
-
-