Documentation of 'cc.mallet.cluster.GreedyAgglomerative' Java class
GreedyAgglomerative
cc.mallet.cluster

Class GreedyAgglomerative

    • Constructor Detail

      • GreedyAgglomerative

        public GreedyAgglomerative(Pipe instancePipe,
                                   NeighborEvaluator evaluator,
                                   double stoppingThreshold)
        Parameters:
        instancePipe - Pipe for each underying Instance.
        evaluator - To score potential merges.
        stoppingThreshold - Clustering converges when the evaluator score is below this value.
    • Method Detail

      • reset

        public void reset()
        Reset convergence to false so a new round of clustering can begin.
        Specified by:
        reset in class HillClimbingClusterer
      • improveClustering

        public Clustering improveClustering(Clustering clustering)
        For each pair of clusters, calculate the score of the Neighbor that would result from merging the two clusters. Choose the merge that obtains the highest score. If no merge improves score, return original Clustering
        Specified by:
        improveClustering in class HillClimbingClusterer
        Parameters:
        clustering -
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.