Fuzzy C-Means Clustering on Iris Flowers

See Fuzzy C-Means Clustering applied to the Iris Flowers dataset (150 samples, 4 features). Interactive visualization, metrics, and analysis.

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.

Fuzzy C-MeansFCMsoft clusteringmembership degreesfuzzifieroverlapping clusters

About the Iris Flowers Dataset

Classic 150-sample dataset with 4 petal/sepal measurements across 3 species. The gold standard for clustering & classification demos.

Samples
150
Features
4
Type
Numeric
Category
Probabilistic

Key Metrics to Watch

Silhouette Score

Measures how similar a point is to its own cluster vs. other clusters. Ranges from −1 to +1; higher is better.

Calinski-Harabasz Index

Ratio of between-cluster to within-cluster variance. Higher values indicate denser, well-separated clusters.

Davies-Bouldin Index

Average similarity between each cluster and its most similar cluster. Lower is better.

Inertia (Within-Cluster SSE)

Sum of squared distances from each point to its assigned centroid. Lower indicates tighter clusters.

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