This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / cluster / hierarchy / _hierarchy / cluster_maxclust_monocrit

cython_function_or_method

scipy.cluster.hierarchy._hierarchy:cluster_maxclust_monocrit

Signature

def cluster_maxclust_monocrit(Z, MC, T, n, max_nc)

Summary

Form flat clusters by maxclust_monocrit criterion.

Parameters

Z : ndarray

The linkage matrix.

MC : ndarray

The monotonic criterion array.

T : ndarray

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

n : int

The number of observations.

max_nc : int

The maximum number of clusters.

Aliases

  • scipy.cluster.hierarchy._hierarchy.cluster_maxclust_monocrit