This is documentation for an old release of SciPy (version 0.10.0). 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)

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.

Previous topic

scipy.cluster.hierarchy.inconsistent

Next topic

scipy.cluster.hierarchy.maxdists

This Page