Package moa.tasks

Class EvaluateInterleavedChunks

    • Field Detail

      • learnerOption

        public ClassOption learnerOption
        Allows to select the trained classifier.
      • streamOption

        public ClassOption streamOption
        Allows to select the stream the classifier will learn.
      • evaluatorOption

        public ClassOption evaluatorOption
        Allows to select the classifier performance evaluation method.
      • instanceLimitOption

        public IntOption instanceLimitOption
        Allows to define the maximum number of instances to test/train on (-1 = no limit).
      • chunkSizeOption

        public IntOption chunkSizeOption
        Allow to define the training/testing chunk size.
      • timeLimitOption

        public IntOption timeLimitOption
        Allows to define the maximum number of seconds to test/train for (-1 = no limit).
      • sampleFrequencyOption

        public IntOption sampleFrequencyOption
        Defines how often classifier parameters will be calculated.
      • maxMemoryOption

        public IntOption maxMemoryOption
        Allows to define the memory limit for the created model.
      • memCheckFrequencyOption

        public IntOption memCheckFrequencyOption
        Allows to define the frequency of memory checks.
      • dumpFileOption

        public FileOption dumpFileOption
        Allows to define the output file name and location.
    • Constructor Detail

      • EvaluateInterleavedChunks

        public EvaluateInterleavedChunks()
    • Method Detail

      • getTaskResultType

        public Class<?> getTaskResultType()
        Defines the task's result type.
        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