{ } Raw JSON

bundles / scipy latest / scipy / cluster / _hierarchy / cluster_dist

cython_function_or_method

scipy.cluster._hierarchy:cluster_dist

Signature

def   cluster_dist ( Z T cutoff n )

Summary

Form flat clusters by distance criterion.

Parameters

Z : ndarray

The linkage matrix.

T : ndarray

The array to store the cluster numbers. The i'th observation belongs to cluster T[i].

cutoff : double

Clusters are formed when distances are less than or equal to cutoff.

n : int

The number of observations.

Aliases

  • scipy.cluster._hierarchy.cluster_dist