Class StdDev

  • All Implemented Interfaces:
    Destroyable, ErrorProvider, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, SizeOfHandler, Serializable

    public class StdDev
    extends AbstractNumericOutlierDetector
    Standard deviation based detector.
    If difference between actual/predicted is more than the factor of standard deviations away from the mean, then the point gets flagged as outlier.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -factor <double> (property: factor)
        The factor which determines whether a value is an outlier.
        default: 2.0
        minimum: 0.0
     
    -use-relative <boolean> (property: useRelative)
        If enabled, relative values (divided by actual) are used instead of absolute 
        ones.
        default: false
     
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Factor

        protected double m_Factor
        the stdev factor.
      • m_UseRelative

        protected boolean m_UseRelative
        whether to use relative values instead of absolute ones.
    • Constructor Detail

      • StdDev

        public StdDev()
    • Method Detail

      • setFactor

        public void setFactor​(double value)
        Sets the factor which determines whether a value is an outlier.
        Parameters:
        value - the factor
      • getFactor

        public double getFactor()
        Returns the factor which determines whether a value is an outlier.
        Returns:
        the factor
      • factorTipText

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

        public void setUseRelative​(boolean value)
        Sets whether to use relative values (divided by actual) rather than absolute ones.
        Parameters:
        value - true if relative
      • getUseRelative

        public boolean getUseRelative()
        Returns whether to use relative values (divided by actual) rather than absolute ones.
        Returns:
        true if relative
      • useRelativeTipText

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