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
CutDendrogramByNumberOfClustersExtractor
as 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 class
CutDendrogramByNumberOfClustersExtractor.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description private CutDendrogramByNumberOfClusters
inner
Class 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 void
processNewResult(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:ResultProcessor
Process a result.- Specified by:
processNewResult
in interfaceResultProcessor
- Parameters:
newResult
- Newly added result subtree.
-
-