Package moa.tasks

Class EvaluatePrequentialCV

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

    public class EvaluatePrequentialCV
    extends ClassificationMainTask
    Task for prequential cross-validation evaluation of a classifier on a stream by testing then training with each example in sequence and doing cross-validation at the same time.

    Albert Bifet, Gianmarco De Francisci Morales, Jesse Read, Geoff Holmes, Bernhard Pfahringer: Efficient Online Evaluation of Big Data Stream Classifiers. KDD 2015: 59-68

    Version:
    $Revision: 7 $
    Author:
    Richard Kirkby (rkirkby@cs.waikato.ac.nz), Albert Bifet (abifet at cs dot waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • EvaluatePrequentialCV

        public EvaluatePrequentialCV()
    • 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