Class TrivialAverageCoordinateOutlier

  • All Implemented Interfaces:
    elki.Algorithm, OutlierAlgorithm

    @Priority(-150)
    public class TrivialAverageCoordinateOutlier
    extends java.lang.Object
    implements OutlierAlgorithm
    Trivial method that takes the average of all dimensions (for one-dimensional data that is just the actual value!) as outlier score. Mostly useful to convert a 1d data set into a score, e.g., in geodata.
    Since:
    0.6.0
    Author:
    Erich Schubert
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface elki.Algorithm

        elki.Algorithm.Utils
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      elki.data.type.TypeInformation[] getInputTypeRestriction()  
      OutlierResult run​(elki.database.relation.Relation<? extends elki.data.NumberVector> relation)
      Run the actual algorithm.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TrivialAverageCoordinateOutlier

        public TrivialAverageCoordinateOutlier()
        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<? extends elki.data.NumberVector> relation)
        Run the actual algorithm.
        Parameters:
        relation - Relation
        Returns:
        Result