Class 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
    • 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 interface ResultProcessor
        Parameters:
        newResult - Newly added result subtree.