fuzzyclust.plotting.plot_membership_contours#
- fuzzyclust.plotting.plot_membership_contours(estimator, X, ax=None, levels=8, resolution=200, cmap='Greys', labels=True)[source]#
Contour map of the maximal membership \(\max_i \mu_i(\mathbf{x})\) over the plane.
Reproduces the contour maps of the MATLAB
clustevalfunction: the level curves show how each algorithm’s distance norm shapes the clusters (circles for FCM, ellipses for GK, Gaussian-like bumps for GG).- Parameters:
- estimator
fittedfuzzyclustestimatorwithpredict_proba - Xarray_like
ofshape(n_samples, 2) Data (used for the plotting range and the scatter).
- estimator
Examples using fuzzyclust.plotting.plot_membership_contours#
Fuzzy c-means: memberships and the fuzziness exponent
Feature scaling on real data: the motorcycle data set
The fuzziness exponent m: from crisp cells to uniform memberships
Local optima and restarts: initializing Gustafson–Kessel on crossing lines
Distance norms: Euclidean, diagonal, and Mahalanobis fuzzy c-means
What makes a partition fuzzy: fuzzifiers, regularization, and annealing
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
Fuzzy c-varieties: lines as prototypes, and the elliptotype compromise
Minimal spanning tree clustering: cutting, splitting, and Gath–Geva refinement