Performs complete/max/farthest point linkage on a condensed distance matrix
y : ndarray
The upper triangular of the distance matrix. The result of pdist is returned in this form.
Z : ndarray
A linkage matrix containing the hierarchical clustering. See the linkage function documentation for more information on its structure.
See also
linkage
scipy.cluster.hierarchy.single
scipy.cluster.hierarchy.average
Enter search terms or a module, class or function name.