{ } Raw JSON

bundles / scipy 1.18.0 / scipy / cluster / hierarchy / _hierarchy / cluster_monocrit

cython_function_or_method

scipy.cluster.hierarchy._hierarchy:cluster_monocrit

Signature

def cluster_monocrit(Z, MC, T, cutoff, n)

Summary

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

cutoff : double

Clusters are formed when the MC values are less than or equal to cutoff.

n : int

The number of observations.

Aliases

  • scipy.cluster.hierarchy._hierarchy.cluster_monocrit