scipy.cluster.hierarchy.is_isomorphic

scipy.cluster.hierarchy.is_isomorphic(T1, T2)
Determines if two different cluster assignments T1 and T2 are equivalent.
Parameters :

T1 : ndarray

An assignment of singleton cluster ids to flat cluster ids.

T2 : ndarray

An assignment of singleton cluster ids to flat cluster ids.

Returns :

b : bool

Whether the flat cluster assignments T1 and T2 are equivalent.

Previous topic

scipy.cluster.hierarchy.is_valid_linkage

Next topic

scipy.cluster.hierarchy.is_monotonic

This Page