Class TrivialAllNoise

  • All Implemented Interfaces:
    elki.Algorithm, ClusteringAlgorithm<Clustering<Model>>

    @Title("Trivial all-noise clustering")
    @Description("Returns a \'trivial\' clustering which just considers all points as noise points.")
    @Priority(-150)
    public class TrivialAllNoise
    extends java.lang.Object
    implements ClusteringAlgorithm<Clustering<Model>>
    Trivial pseudo-clustering that just considers all points to be noise.

    Useful for evaluation and testing.

    Since:
    0.2
    Author:
    Erich Schubert
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface elki.Algorithm

        elki.Algorithm.Utils
    • Constructor Summary

      Constructors 
      Constructor Description
      TrivialAllNoise()
      Constructor.
    • Constructor Detail

      • TrivialAllNoise

        public TrivialAllNoise()
        Constructor.
    • Method Detail

      • getInputTypeRestriction

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

        public Clustering<Model> run​(elki.database.relation.Relation<?> relation)
        Run the trivial clustering algorithm.
        Parameters:
        relation - Data
        Returns:
        clustering