public class EvaluateInterleavedChunks extends MainTask
Modifier and Type | Field and Description |
---|---|
IntOption |
chunkSizeOption
Allow to define the training/testing chunk size.
|
FileOption |
dumpFileOption
Allows to define the output file name and location.
|
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).
|
ClassOption |
learnerOption
Allows to select the trained classifier.
|
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.
|
ClassOption |
streamOption
Allows to select the stream the classifier will learn.
|
IntOption |
timeLimitOption
Allows to define the maximum number of seconds to test/train for (-1 = no limit).
|
INSTANCES_BETWEEN_MONITOR_UPDATES, outputFileOption
classOptionNamesToPreparedObjects, options
Constructor and Description |
---|
EvaluateInterleavedChunks() |
Modifier and Type | Method and Description |
---|---|
protected Object |
doMainTask(TaskMonitor monitor,
ObjectRepository repository)
This method performs this task.
|
String |
getPurposeString()
Gets the purpose of this object
|
Class<?> |
getTaskResultType()
Defines the task's result type.
|
doTaskImpl
doTask, doTask, getDescription, getTaskName, prepareForUseImpl
copy, discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, measureByteSize
public ClassOption learnerOption
public ClassOption streamOption
public ClassOption evaluatorOption
public IntOption instanceLimitOption
public IntOption chunkSizeOption
public IntOption timeLimitOption
public IntOption sampleFrequencyOption
public IntOption maxMemoryOption
public IntOption memCheckFrequencyOption
public FileOption dumpFileOption
public String getPurposeString()
OptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class AbstractOptionHandler
public Class<?> getTaskResultType()
protected Object doMainTask(TaskMonitor monitor, ObjectRepository repository)
MainTask
AbstractTask
implements doTask
,
that uses doTaskImpl
.
MainTask
implements doTaskImpl
using
doMainTask
so its extensions only need to implement
doMainTask
.doMainTask
in class MainTask
monitor
- the TaskMonitor to userepository
- the ObjectRepository to useCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.