Class TrivialAllOutlier

  • All Implemented Interfaces:
    elki.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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface elki.Algorithm

        elki.Algorithm.Utils
    • Constructor Summary

      Constructors 
      Constructor Description
      TrivialAllOutlier()
      Constructor.
    • Constructor Detail

      • TrivialAllOutlier

        public TrivialAllOutlier()
        Constructor.
    • Method Detail

      • getInputTypeRestriction

        public elki.data.type.TypeInformation[] getInputTypeRestriction()
        Specified by:
        getInputTypeRestriction in interface elki.Algorithm
      • run

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