Class CutDendrogramByNumberOfClustersExtractor
- java.lang.Object
-
- elki.evaluation.clustering.extractor.CutDendrogramByNumberOfClustersExtractor
-
- All Implemented Interfaces:
Evaluator,ResultProcessor
public class CutDendrogramByNumberOfClustersExtractor extends java.lang.Object implements Evaluator
Extract clusters from a hierarchical clustering, during the evaluation phase.Usually, it is more elegant to use
CutDendrogramByNumberOfClustersExtractoras primary algorithm. But in order to extract multiple partitionings from the same clustering, this can be useful.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCutDendrogramByNumberOfClustersExtractor.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description private CutDendrogramByNumberOfClustersinnerClass to perform the cluster extraction.
-
Constructor Summary
Constructors Constructor Description CutDendrogramByNumberOfClustersExtractor(CutDendrogramByNumberOfClusters inner)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessNewResult(java.lang.Object newResult)Process a result.
-
-
-
Field Detail
-
inner
private CutDendrogramByNumberOfClusters inner
Class to perform the cluster extraction.
-
-
Constructor Detail
-
CutDendrogramByNumberOfClustersExtractor
public CutDendrogramByNumberOfClustersExtractor(CutDendrogramByNumberOfClusters inner)
Constructor.- Parameters:
inner- Inner algorithm instance.
-
-
Method Detail
-
processNewResult
public void processNewResult(java.lang.Object newResult)
Description copied from interface:ResultProcessorProcess a result.- Specified by:
processNewResultin interfaceResultProcessor- Parameters:
newResult- Newly added result subtree.
-
-