Performs weighted/WPGMA linkage on the condensed distance matrix y. See linkage for more information on the return structure and algorithm.
The upper triangular of the distance matrix. The result of pdist is returned in this form.
A linkage matrix containing the hierarchical clustering. See the linkage function documentation for more information on its structure.
scipy.cluster.hierarchy.average
scipy.cluster.hierarchy.centroid
Enter search terms or a module, class or function name.