Class WekaFilter

    • Field Detail

      • m_Filter

        protected weka.filters.Filter m_Filter
        the filter to use.
      • m_ActualFilter

        protected weka.filters.Filter m_ActualFilter
        the actual filter in use.
      • m_MaxLabels

        protected int m_MaxLabels
        the threshold for number of labels before an attribute gets switched to Attribute.STRING.
    • Constructor Detail

      • WekaFilter

        public WekaFilter()
    • Method Detail

      • setFilter

        public void setFilter​(weka.filters.Filter value)
        Sets the filter to use.
        Parameters:
        value - the filter
      • getFilter

        public weka.filters.Filter getFilter()
        Returns the filter in use.
        Returns:
        the filter
      • filterTipText

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

        public void setMaxLabels​(int value)
        Sets the maximum number of labels a nominal attribute can have.
        Parameters:
        value - the maximum
      • getMaxLabels

        public int getMaxLabels()
        Returns the name of the global actor in use.
        Returns:
        the global name
      • maxLabelsTipText

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

        protected weka.core.Instances toInstances​(SpreadSheet data)
        Converts the spreadsheet into an Instances object.
        Parameters:
        data - the spreadsheet to convert
        Returns:
        the Instances
      • toSpreadSheet

        protected SpreadSheet toSpreadSheet​(weka.core.Instances data)
        Converts the Instances into a SpreadSheet object.
        Parameters:
        data - the Instances to convert
        Returns:
        the SpreadSheet