{ } Raw JSON

bundles / scipy latest / 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 : ndarray

The linkage matrix.

d : ndarray

The condensed matrix to store the cophenetic distances.

n : int

The number of observations.

Aliases

  • scipy.cluster._hierarchy.cophenetic_distances