fuzzyclust.ensemble.cspa#

fuzzyclust.ensemble.cspa(labels_list, n_clusters, random_state=None)[source]#

Cluster-based similarity partitioning, CSPA (Strehl and Ghosh, 2002), for hard partitions.

The co-association matrix of the crisp partitions is partitioned into n_clusters groups (spectral clustering stands in for METIS).

Parameters:
labels_listsequence of array_like of shape (n_samples,)
n_clustersint
random_stateint, RandomState instance or None
Returns:
labelsndarray of shape (n_samples,)