Class AbstractFilteredRowFinder

  • 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
    Direct Known Subclasses:
    Invert

    public abstract class AbstractFilteredRowFinder
    extends AbstractTrainableRowFinder
    Ancestor for row finders that pre-filter the rows.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_RowFinder

        protected RowFinder m_RowFinder
        the RowFinder to apply.
    • Constructor Detail

      • AbstractFilteredRowFinder

        public AbstractFilteredRowFinder()
    • Method Detail

      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class adams.core.option.AbstractOptionHandler
      • setRowFinder

        public void setRowFinder​(RowFinder value)
        Sets the row finder to use.
        Parameters:
        value - the row finder
      • getRowFinder

        public RowFinder getRowFinder()
        Returns the row finder in use.
        Returns:
        the row finder
      • rowFinderTipText

        public String rowFinderTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • doTrainRowFinder

        protected boolean doTrainRowFinder​(weka.core.Instances data)
        Performs the actual training of the row finder with the specified dataset.
        Specified by:
        doTrainRowFinder in class AbstractTrainableRowFinder
        Parameters:
        data - the training data
        Returns:
        true if successfully trained