Package moa.tasks
Class ClassificationMainTask
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.tasks.AbstractTask
-
- moa.tasks.MainTask
-
- moa.tasks.ClassificationMainTask
-
- All Implemented Interfaces:
Configurable
,Serializable
,CapabilitiesHandler
,MOAObject
,OptionHandler
,Task
- Direct Known Subclasses:
EvaluateInterleavedChunks
,EvaluateInterleavedTestThenTrain
,EvaluateModel
,EvaluatePeriodicHeldOutTest
,EvaluatePrequential
,EvaluatePrequentialCV
,EvaluatePrequentialDelayed
,EvaluatePrequentialDelayedCV
,FeatureImportanceConfig
,LearnModel
public abstract class ClassificationMainTask extends MainTask implements CapabilitiesHandler
Abstract Classification Main Task. All tasks that uses classifiers must extend this class.- Version:
- $Revision: 7 $
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ArrayList<ClusterEvent>
events
-
Fields inherited from class moa.tasks.MainTask
INSTANCES_BETWEEN_MONITOR_UPDATES, outputFileOption
-
Fields inherited from class moa.options.AbstractOptionHandler
config
-
-
Constructor Summary
Constructors Constructor Description ClassificationMainTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableCapabilities
defineImmutableCapabilities()
Defines the set of capabilities the object has.ArrayList<ClusterEvent>
getEventsList()
protected void
setEventsList(ArrayList<ClusterEvent> events)
-
Methods inherited from class moa.tasks.MainTask
doMainTask, doTaskImpl
-
Methods inherited from class moa.tasks.AbstractTask
doTask, doTask, getDescription, getTaskName, prepareForUseImpl
-
Methods inherited from class moa.options.AbstractOptionHandler
copy, getCLICreationString, getOptions, getPreparedClassOption, getPurposeString, 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.capabilities.CapabilitiesHandler
getCapabilities
-
Methods inherited from interface moa.MOAObject
measureByteSize
-
Methods inherited from interface moa.tasks.Task
getTaskResultType
-
-
-
-
Field Detail
-
events
protected ArrayList<ClusterEvent> events
-
-
Method Detail
-
setEventsList
protected void setEventsList(ArrayList<ClusterEvent> events)
-
getEventsList
public ArrayList<ClusterEvent> getEventsList()
-
defineImmutableCapabilities
public ImmutableCapabilities defineImmutableCapabilities()
Description copied from interface:CapabilitiesHandler
Defines the set of capabilities the object has. Should be overridden if the object's capabilities do not change.- Specified by:
defineImmutableCapabilities
in interfaceCapabilitiesHandler
- Returns:
- The capabilities of the object.
-
-