scipy.cluster.hierarchy.is_isomorphic

scipy.cluster.hierarchy.is_isomorphic(T1, T2)

Determines if two different cluster assignments T1 and T2 are equivalent.

Arguments :
  • 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 : boolean 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