fuzzyclust.collaborative#
Collaborative fuzzy clustering.
Several data sites describe the same objects with different features and may not share their raw data. Collaborative clustering (Pedrycz, 2002) lets every site run its own fuzzy c-means and then exchange only the partition matrices, so that the structures found at the sites are reconciled without moving the data.
CollaborativeFCM– horizontal collaboration between \(P\) sites with the collaboration matrix \(\alpha[ii,jj]\);align_partitions()– matching of cluster labels between partitions (the site partitions are compared withfuzzyclust.validity.fuzzy_rand_index());make_collaborative_sites()– data generator;plot_site_partitions(),plot_collaboration_trajectory()– matplotlib helpers.
Collaborative FCM across data sites.
Classes#
|
Horizontal collaborative fuzzy clustering (Pedrycz, 2002). |
Functions#
|
Permute the clusters of |
|
The same objects described at several data sites by different features. |
|
Scatter plot of every site's (two-dimensional) data colored by its own partition. |
|
Agreement between the sites as a function of the collaboration weight \(\alpha\). |