Class ByLabelOutlier

  • All Implemented Interfaces:
    Algorithm, OutlierAlgorithm

    @Priority(-100)
    public class ByLabelOutlier
    extends java.lang.Object
    implements OutlierAlgorithm
    Trivial algorithm that marks outliers by their label. Can be used as reference algorithm in comparisons.
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Field Detail

      • DEFAULT_PATTERN

        public static final java.lang.String DEFAULT_PATTERN
        The default pattern to use.
        See Also:
        Constant Field Values
      • pattern

        final java.util.regex.Pattern pattern
        The pattern we match with.
    • Constructor Detail

      • ByLabelOutlier

        public ByLabelOutlier​(java.util.regex.Pattern pattern)
        Constructor.
        Parameters:
        pattern - Pattern to match with.
      • ByLabelOutlier

        public ByLabelOutlier()
        Constructor.