Class TrivialAllOutlier

  • All Implemented Interfaces:
    Algorithm, OutlierAlgorithm

    @Priority(-150)
    public class TrivialAllOutlier
    extends java.lang.Object
    implements OutlierAlgorithm
    Trivial method that claims all objects to be outliers. Can be used as reference algorithm in comparisons.
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Constructor Detail

      • TrivialAllOutlier

        public TrivialAllOutlier()
        Constructor.
    • Method Detail

      • getInputTypeRestriction

        public TypeInformation[] getInputTypeRestriction()
        Description copied from interface: Algorithm
        Get the input type restriction used for negotiating the data query.
        Specified by:
        getInputTypeRestriction in interface Algorithm
        Returns:
        Type restriction
      • run

        public OutlierResult run​(Relation<?> relation)
        Run the trivial algorithm.
        Parameters:
        relation - Relation
        Returns:
        Result