fuzzyclust.semisupervised.check_pairwise_constraints#

fuzzyclust.semisupervised.check_pairwise_constraints(must_link=None, cannot_link=None, n_samples=None)[source]#

Validate lists of pairwise constraints and return them as integer arrays (n_pairs, 2).

Pairs are unordered; a pair that appears in both lists is an error.