This is documentation for an old release of SciPy (version 0.19.1). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.cluster.hierarchy.maxinconsts¶
-
scipy.cluster.hierarchy.
maxinconsts
(Z, R)[source]¶ Returns the maximum inconsistency coefficient for each non-singleton cluster and its descendents.
Parameters: Z : ndarray
The hierarchical clustering encoded as a matrix. See
linkage
for more information.R : ndarray
The inconsistency matrix.
Returns: MI : ndarray
A monotonic
(n-1)
-sized numpy array of doubles.