This is documentation for an old release of SciPy (version 0.10.0). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
scipy.cluster.hierarchy.weighted
-
scipy.cluster.hierarchy.weighted(y)
Performs weighted/WPGMA linkage on the condensed distance matrix
y. See linkage for more information on the return
structure and algorithm.
Parameters : | y : ndarray
The upper triangular of the distance matrix. The result of
pdist is returned in this form.
|
Returns : | Z : ndarray
A linkage matrix containing the hierarchical clustering. See
the linkage function documentation for more information
on its structure.
|
See also
- linkage
- for advanced creation of hierarchical clusterings.