Performs single/min/nearest linkage on the condensed distance matrix y
y : ndarray
The upper triangular of the distance matrix. The result of pdist is returned in this form.
Z : ndarray
The linkage matrix.
See also
scipy.cluster.hierarchy.linkage
scipy.cluster.hierarchy.complete
Enter search terms or a module, class or function name.