Class AbstractRangeBasedSelectionProcessor

  • All Implemented Interfaces:
    adams.core.GlobalInfoSupporter, Serializable, weka.core.OptionHandler
    Direct Known Subclasses:
    Average

    public abstract class AbstractRangeBasedSelectionProcessor
    extends AbstractSelectionProcessor
    Ancestor for processors that work on a range of attributes.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • AbstractRangeBasedSelectionProcessor

        public AbstractRangeBasedSelectionProcessor()
    • Method Detail

      • listOptions

        public Enumeration listOptions()
        Returns an enumeration describing the available options.
        Specified by:
        listOptions in interface weka.core.OptionHandler
        Overrides:
        listOptions in class AbstractMultiRowProcessorPlugin
        Returns:
        an enumeration of all the available options.
      • setOptions

        public void setOptions​(String[] options)
                        throws Exception
        Parses a given list of options.
        Specified by:
        setOptions in interface weka.core.OptionHandler
        Overrides:
        setOptions in class AbstractMultiRowProcessorPlugin
        Parameters:
        options - the list of options as an array of strings
        Throws:
        Exception - if an option is not supported
      • getOptions

        public String[] getOptions()
        Gets the current settings of the classifier.
        Specified by:
        getOptions in interface weka.core.OptionHandler
        Overrides:
        getOptions in class AbstractMultiRowProcessorPlugin
        Returns:
        an array of strings suitable for passing to setOptions
      • getDefaultRange

        protected WekaAttributeRange getDefaultRange()
        Returns the default range.
        Returns:
        the default range
      • setRange

        public void setRange​(WekaAttributeRange value)
        Sets the attribute range to work on.
        Parameters:
        value - the range
      • getRange

        public WekaAttributeRange getRange()
        Returns the attribute range to work on.
        Returns:
        the range
      • rangeTipText

        public String rangeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.