This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / cluster / hierarchy / _hierarchy / get_max_dist_for_each_cluster

cython_function_or_method

scipy.cluster.hierarchy._hierarchy:get_max_dist_for_each_cluster

Signature

def get_max_dist_for_each_cluster(Z, MD, n)

Summary

Get the maximum inconsistency coefficient for each non-singleton cluster.

Parameters

Z : ndarray

The linkage matrix.

MD : ndarray

The array to store the result (hence this input array gets modified in-place).

n : int

The number of observations.

Aliases

  • scipy.cluster.hierarchy._hierarchy.get_max_dist_for_each_cluster