Package elki.clustering.trivial
Class TrivialAllNoise
- java.lang.Object
-
- elki.clustering.trivial.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
-
-
Constructor Summary
Constructors Constructor Description TrivialAllNoise()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elki.data.type.TypeInformation[]getInputTypeRestriction()Clustering<Model>run(elki.database.relation.Relation<?> relation)Run the trivial clustering algorithm.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.clustering.ClusteringAlgorithm
autorun
-
-
-
-
Method Detail
-
getInputTypeRestriction
public elki.data.type.TypeInformation[] getInputTypeRestriction()
- Specified by:
getInputTypeRestrictionin interfaceelki.Algorithm
-
run
public Clustering<Model> run(elki.database.relation.Relation<?> relation)
Run the trivial clustering algorithm.- Parameters:
relation- Data- Returns:
- clustering
-
-