Class ALPrequentialEvaluationTask

  • All Implemented Interfaces:
    Configurable, Serializable, MOAObject, OptionHandler, Task

    public class ALPrequentialEvaluationTask
    extends ALMainTask
    This task performs prequential evaluation for an active learning classifier (testing, then training with each example in sequence). It is mainly based on the class EvaluateALPrequentialCV.
    Version:
    $Revision: 1 $
    Author:
    Cornelius Styp von Rekowski (cornelius.styp@ovgu.de)
    See Also:
    Serialized Form
    • Constructor Detail

      • ALPrequentialEvaluationTask

        public ALPrequentialEvaluationTask()
        Constructor which sets the color coding to black.
      • ALPrequentialEvaluationTask

        public ALPrequentialEvaluationTask​(Color colorCoding)
        Constructor with which a color coding can be set.
        Parameters:
        colorCoding - the color used by the task
    • Method Detail

      • 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 implements doTask, that uses doTaskImpl. MainTask implements doTaskImpl using doMainTask so its extensions only need to implement doMainTask.
        Specified by:
        doMainTask in class MainTask
        Parameters:
        monitor - the TaskMonitor to use
        repository - the ObjectRepository to use
        Returns:
        an object with the result of this task
      • getSubtaskThreads

        public List<ALTaskThread> getSubtaskThreads()
        Description copied from class: MetaMainTask
        Get the list of threads for all subtasks and recursively the children's subtasks.
        Specified by:
        getSubtaskThreads in class ALMainTask
        Returns:
        list of subtask threads, recursively generated