Fuzzy C-Means Clustering on Iris Flowers

Fuzzy C-Means Clustering on Iris Flowers produced 3 clusters and 0 noise rows (silhouette 0.458, adjusted Rand 0.630 against held-out species).

Results of this run

Fuzzy C-Means on Iris Flowers (m=2, k=3, m=2) keeps a membership for every row. Fuzzy silhouette is 0.458, fuzzy Calinski-Harabasz is 241.4, fuzzy Davies-Bouldin is 0.834. Held-out species versus hardened memberships: adjusted Rand 0.630. 0 noise rows out of 150 after defuzzifying. Fuzzy group 0 on Iris Flowers holds 52 rows (petal length (cm) 4.36 / sepal length (cm) 5.80). Fuzzy group 1 on Iris Flowers holds 50 rows (petal length (cm) 1.46 / sepal length (cm) 5.01). Fuzzy group 2 on Iris Flowers holds 48 rows (petal length (cm) 5.50 / sepal length (cm) 6.76). Fuzzifier path: k 2 soft-assigns 0.582 with 2 groups on Iris Flowers; k 3 soft-assigns 0.458 with 3 groups on Iris Flowers; k 4 soft-assigns 0.402 with 4 groups on Iris Flowers; k 5 soft-assigns 0.331 with 5 groups on Iris Flowers; k 6 soft-assigns 0.277 with 6 groups on Iris Flowers; k 7 soft-assigns 0.306 with 7 groups on Iris Flowers; k 8 soft-assigns 0.317 with 8 groups on Iris Flowers. Fuzzy scatter keeps 95.8%.

Fuzzy C-Means Clustering on Iris Flowers: PCA plot of 3 clusters and 0 noise rows
Each point is one row. Gray points are noise. Computed 2026-11-02 with scikit-learn 1.4.2.
kSilhouetteClusters
20.5822
30.4583
40.4024
50.3315
60.2776
70.3067
80.3178
# Product Fuzzy C-Means: c=3, m=2.0, random_state=42.
# Features are StandardScaler-transformed before the fit.

Who, how, and why

Method: StandardScaler, drop constant columns. Code version 3e4afc4b4352 (scripts/seo/build_explore_artifacts.py). scikit-learn 1.4.2. Seed 42. Dataset source: UCI Machine Learning Repository, Iris (Fisher, 1936). License: CC BY 4.0. The species column was held out of the fit and used only for the adjusted Rand score.

Results computed on 2026-11-02.

The results paragraph is filled from these numbers by a fixed template in the site code, so the scores can be checked against the same dataset in the tool.

Maintainer: nikolaou1982.

Contact: nick1982100@gmail.com.

How Fuzzy C-Means Clustering Works

Fuzzy C-Means allows points to belong to multiple clusters with varying degrees of membership, capturing overlapping cluster boundaries.

About the Iris Flowers Dataset

Classic 150-sample dataset with 4 petal/sepal measurements across 3 species. The gold standard for clustering & classification demos. Source: UCI Machine Learning Repository, Iris (Fisher, 1936). License: CC BY 4.0.

Samples. 150

Features. 4

Type. Numeric

Category. Probabilistic

When to Use Fuzzy C-Means Clustering

Fuzzy C-Means Clustering belongs to the Probabilistic family of clustering algorithms. These methods model each cluster as a probability distribution, providing soft assignments and uncertainty estimates.

Related Examples

Ready to try Fuzzy C-Means Clustering on your own data?

Upload a CSV and get instant results — free to start.