Package moa.gui.experimentertab.tasks
Class EvaluateInterleavedTestThenTrain
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.tasks.AbstractTask
-
- moa.gui.experimentertab.tasks.ExperimenterTask
-
- moa.gui.experimentertab.tasks.EvaluateInterleavedTestThenTrain
-
- All Implemented Interfaces:
Configurable
,Serializable
,MOAObject
,OptionHandler
,Task
public class EvaluateInterleavedTestThenTrain extends ExperimenterTask
Task for evaluating a classifier on a stream by testing then training with each example in sequence.- Version:
- $Revision: 7 $
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description ClassOption
evaluatorOption
IntOption
instanceLimitOption
IntOption
memCheckFrequencyOption
IntOption
randomSeedOption
IntOption
sampleFrequencyOption
IntOption
timeLimitOption
-
Fields inherited from class moa.options.AbstractOptionHandler
config
-
-
Constructor Summary
Constructors Constructor Description EvaluateInterleavedTestThenTrain()
-
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()
Gets the result type of this task.-
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
-
randomSeedOption
public IntOption randomSeedOption
-
evaluatorOption
public ClassOption evaluatorOption
-
instanceLimitOption
public IntOption instanceLimitOption
-
timeLimitOption
public IntOption timeLimitOption
-
sampleFrequencyOption
public IntOption sampleFrequencyOption
-
memCheckFrequencyOption
public IntOption memCheckFrequencyOption
-
-
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()
Description copied from interface:Task
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
-
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
-
-