Class OutlierDetector<T extends DataContainer>

    • Field Detail

      • m_OnlyWarning

        protected boolean m_OnlyWarning
        whether the detection is only added as warning instead of error.
    • Constructor Detail

      • OutlierDetector

        public OutlierDetector()
    • Method Detail

      • setDetector

        public void setDetector​(AbstractOutlierDetector value)
        Sets the outlier detector.
        Parameters:
        value - the algorithm
      • getDetector

        public AbstractOutlierDetector getDetector()
        Returns the current outlier detector.
        Returns:
        the algorithm
      • detectorTipText

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

        public void setOnlyWarning​(boolean value)
        Sets whether the detections are added as error or warning.
        Parameters:
        value - if true then the detections are added as warning instead of as error
      • getOnlyWarning

        public boolean getOnlyWarning()
        Returns whether the detections are added as error or warning.
        Returns:
        true if the detections get added as warning instead of as error
      • onlyWarningTipText

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

        protected T processData​(T data)
        Performs the actual filtering.
        Specified by:
        processData in class AbstractFilter<T extends DataContainer>
        Parameters:
        data - the data to filter
        Returns:
        the filtered data
      • isTrained

        public boolean isTrained()
        Returns whether the filter has been trained already and is ready to use.
        Specified by:
        isTrained in interface TrainableBatchFilter<T extends DataContainer>
        Returns:
        true if already trained
      • batchFilter

        public T[] batchFilter​(T[] data)
        Batch filters the data.
        Specified by:
        batchFilter in interface BatchFilter<T extends DataContainer>
        Parameters:
        data - the data to filter
        Returns:
        the filtered data