Package moa.tasks
Class EvaluatePrequentialMultiTargetSemiSuper
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.options.AbstractOptionHandler
-
- moa.tasks.AbstractTask
-
- moa.tasks.MainTask
-
- moa.tasks.MultiTargetMainTask
-
- moa.tasks.EvaluatePrequentialMultiTargetSemiSuper
-
- All Implemented Interfaces:
Configurable
,Serializable
,MOAObject
,OptionHandler
,Task
public class EvaluatePrequentialMultiTargetSemiSuper extends MultiTargetMainTask
Multi-target Prequential semi-supervised evaluation Phase1: Creates a initial model withof the instances in the dataset Phase2: When an instance is received: A binary random process with a binomial distribution selects if the instance should be labeled or unlabeled with probability . - Version:
- $Revision: 2 $
- Author:
- RSousa
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class moa.tasks.MultiTargetMainTask
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 EvaluatePrequentialMultiTargetSemiSuper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
doMainTask(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.MultiTargetMainTask
getEventsList, setEventsList
-
Methods inherited from class moa.tasks.MainTask
doTaskImpl
-
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
-
learnerOption
public ClassOption learnerOption
-
streamOption
public ClassOption streamOption
-
evaluatorOption
public ClassOption evaluatorOption
-
instanceLimitOption
public IntOption instanceLimitOption
-
timeLimitOption
public IntOption timeLimitOption
-
sampleFrequencyOption
public IntOption sampleFrequencyOption
-
memCheckFrequencyOption
public IntOption memCheckFrequencyOption
-
dumpFileOption
public FileOption dumpFileOption
-
outputPredictionFileOption
public FileOption outputPredictionFileOption
-
widthOption
public IntOption widthOption
-
alphaOption
public FloatOption alphaOption
-
unlabeledPercentage
public FloatOption unlabeledPercentage
-
dbInitialModelPercentage
public FloatOption dbInitialModelPercentage
-
runSeed
public IntOption runSeed
-
slidingWindowSize
public IntOption slidingWindowSize
-
slidingWindowStep
public IntOption slidingWindowStep
-
-
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
-
doMainTask
protected Object doMainTask(TaskMonitor monitor, ObjectRepository repository)
Description copied from class:MainTask
This method performs this task.AbstractTask
implementsdoTask
, that usesdoTaskImpl
.MainTask
implementsdoTaskImpl
usingdoMainTask
so its extensions only need to implementdoMainTask
.- Specified by:
doMainTask
in classMainTask
- Parameters:
monitor
- the TaskMonitor to userepository
- the ObjectRepository to use- Returns:
- an object with the result of this task
-
-