fuzzyclust.collaborative.align_partitions# fuzzyclust.collaborative.align_partitions(U_ref, U)[source]# Permute the clusters of U to match those of U_ref (maximal membership overlap). Returns the permutation perm such that U[:, perm] is aligned, found with the Hungarian algorithm on the overlap matrix U_ref.T @ U.