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<ColumnFinder>, adams.core.SizeOfHandler, ColumnFinder, TrainableColumnFinder, Serializable

    public class Invert
    extends AbstractFilteredColumnFinder
    Inverts the selected columns of the provided sub-column-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
      • doFindColumns

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