Documentation of 'smile.clustering.linkage.CompleteLinkage' Java class
CompleteLinkage
smile.clustering.linkage

Class CompleteLinkage



  • public class CompleteLinkage
    extends Linkage
    Complete linkage. This is the opposite of single linkage. Distance between groups is now defined as the distance between the most distant pair of objects, one from each group.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CompleteLinkage(double[][] proximity)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void merge(int i, int j)
      Merge two clusters into one and update the proximity matrix.
      java.lang.String toString() 
      • Methods inherited from class smile.clustering.linkage.Linkage

        d, size
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CompleteLinkage

        public CompleteLinkage(double[][] proximity)
        Constructor.
        Parameters:
        proximity - the proximity matrix to store the distance measure of dissimilarity. To save space, we only need the lower half of matrix.
    • Method Detail

      • toString

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

        public void merge(int i,
                          int j)
        Description copied from class: Linkage
        Merge two clusters into one and update the proximity matrix.
        Specified by:
        merge in class Linkage
        Parameters:
        i - cluster id.
        j - cluster id.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.