Package elki.clustering.trivial
Class TrivialAllNoise
- java.lang.Object
-
- elki.clustering.trivial.TrivialAllNoise
-
- All Implemented Interfaces:
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
Algorithm.Utils
-
-
Constructor Summary
Constructors Constructor Description TrivialAllNoise()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformation[]
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.Clustering<Model>
run(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 TypeInformation[] getInputTypeRestriction()
Description copied from interface:Algorithm
Get the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestriction
in interfaceAlgorithm
- Returns:
- Type restriction
-
run
public Clustering<Model> run(Relation<?> relation)
Run the trivial clustering algorithm.- Parameters:
relation
- Data- Returns:
- clustering
-
-