Class Invert

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.ShallowCopySupporter<RowFinder>, adams.core.SizeOfHandler, RowFinder, TrainableRowFinder, Serializable

    public class Invert
    extends AbstractFilteredRowFinder
    Inverts the selected rows of the provided sub-row-filter.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • Invert

        public Invert()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • doFindRows

        protected int[] doFindRows​(weka.core.Instances data)
        Returns the rows of interest in the dataset.
        Specified by:
        doFindRows in class AbstractRowFinder
        Parameters:
        data - the dataset to inspect
        Returns:
        the rows of interest