fuzzyclust.plotting.plot_clusters#
- fuzzyclust.plotting.plot_clusters(X, labels=None, centers=None, ax=None, alpha=0.8, s=14, legend=True, **kwargs)[source]#
Scatter plot of 2-D data colored by (hard) cluster label with prototypes.
- Parameters:
- Xarray_like
ofshape(n_samples, 2) - labelsarray_like
ofshape(n_samples,),optional Hard labels;
-1is drawn as gray “noise”.- centersarray_like
ofshape(n_clusters, 2),optional - ax
matplotlibAxes,optional
- Xarray_like
Examples using fuzzyclust.plotting.plot_clusters#
Fuzzy c-means: memberships and the fuzziness exponent
Hard versus fuzzy partitions: k-means, k-medoids, and FCM
Choosing the number of clusters with validity indices
Feature scaling on real data: the motorcycle data set
Local optima and restarts: initializing Gustafson–Kessel on crossing lines
What makes a partition fuzzy: fuzzifiers, regularization, and annealing
Subtractive clustering: the number and location of clusters from density
Three routes to the number of clusters: merging, validity scan, and stability
Possibilistic c-means: typicalities, scales and coincident clusters
Possibilistic fuzzy c-means: memberships and typicalities together
Noise clustering: a virtual cluster at constant distance δ
Kernel fuzzy c-means: rings and moons through the kernel trick
Learning which features matter: SCAD and the weighted FCM
Minimal spanning tree clustering: cutting, splitting, and Gath–Geva refinement
Number of clusters: volume-based validity and fuzzy cluster similarity
Geodesic-distance-based fuzzy clustering versus fuzzy c-means
Geodesic paths, the S-curve, and clustering of the Isomap projection
Fuzzy c-regression models: switching regression with crossing lines
Relational fuzzy c-means and NERF for non-Euclidean data
Fuzzy k-prototypes on mixed numeric and categorical data
Gower’s dissimilarity versus one-hot encoding for mixed data
Clustering incomplete data: the four strategies of Hathaway and Bezdek
Pairwise constraints: must-link, cannot-link and competitive agglomeration