bundles / scipy 1.17.1 / scipy / cluster / _hierarchy / cophenetic_distances
cython_function_or_method
scipy.cluster._hierarchy:cophenetic_distances
Signature
def cophenetic_distances ( Z , d , n ) Summary
Calculate the cophenetic distances between each observation
Parameters
Z: ndarrayThe linkage matrix.
d: ndarrayThe condensed matrix to store the cophenetic distances.
n: intThe number of observations.
Aliases
-
scipy.cluster._hierarchy.cophenetic_distances