You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / cluster / _hierarchy / cluster_maxclust_dist

cython_function_or_method

scipy.cluster._hierarchy:cluster_maxclust_dist

Signature

def cluster_maxclust_dist(Z, T, n, mc)

Summary

Form flat clusters by maxclust 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].

n : int

The number of observations.

mc : int

The maximum number of clusters.

Aliases

  • scipy.cluster._hierarchy.cluster_maxclust_dist