Class Average

    • Constructor Detail

      • Average

        public Average()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the processor.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class AbstractMultiRowProcessorPlugin
        Returns:
        a description suitable for displaying in the explorer/experimenter gui
      • generateOutputFormat

        public weka.core.Instances generateOutputFormat​(weka.core.Instances data)
                                                 throws Exception
        Returns the format for the output data.
        Specified by:
        generateOutputFormat in class AbstractSelectionProcessor
        Parameters:
        data - the input data
        Returns:
        the output format
        Throws:
        Exception - if fails to determine output format
      • doProcessRows

        protected List<weka.core.Instance> doProcessRows​(List<weka.core.Instance> rows)
                                                  throws Exception
        Returns the list of row indices generated from the data.
        Specified by:
        doProcessRows in class AbstractSelectionProcessor
        Parameters:
        rows - the rows to process
        Returns:
        the list of selections
        Throws:
        Exception - if checks or selection failed