Package elki.clustering.trivial
Class ByLabelOrAllInOneClustering
- java.lang.Object
-
- elki.clustering.trivial.ByLabelClustering
-
- elki.clustering.trivial.ByLabelOrAllInOneClustering
-
- All Implemented Interfaces:
Algorithm
,ClusteringAlgorithm<Clustering<Model>>
@Priority(-150) public class ByLabelOrAllInOneClustering extends ByLabelClustering
Trivial class that will try to cluster by label, and fall back to an "all-in-one" clustering.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class elki.clustering.trivial.ByLabelClustering
ByLabelClustering.Par
-
Nested classes/interfaces inherited from interface elki.Algorithm
Algorithm.Utils
-
-
Constructor Summary
Constructors Constructor Description ByLabelOrAllInOneClustering()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Clustering<Model>
autorun(Database database)
Try to auto-run the algorithm on a database by calling a method calledrun
, with an optionalDatabase
first, and with data relations as specified byAlgorithm.getInputTypeRestriction()
.-
Methods inherited from class elki.clustering.trivial.ByLabelClustering
getInputTypeRestriction, run
-
-
-
-
Method Detail
-
autorun
public Clustering<Model> autorun(Database database)
Description copied from interface:Algorithm
Try to auto-run the algorithm on a database by calling a method calledrun
, with an optionalDatabase
first, and with data relations as specified byAlgorithm.getInputTypeRestriction()
.- Specified by:
autorun
in interfaceAlgorithm
- Specified by:
autorun
in interfaceClusteringAlgorithm<Clustering<Model>>
- Overrides:
autorun
in classByLabelClustering
- Parameters:
database
- the database to run the algorithm on- Returns:
- the Result computed by this algorithm
-
-