All labs
Cluster Geometry: k-means, DBSCAN, and Shapes That Break Them
Compare centroid and density clustering on blobs, moons, and pure noise — and see why the elbow plot cannot tell you k.
Ch 8 8.4
Comparator
Unsupervised Learning & Text
22 mindifficulty 3/5Controls
Data geometry
Algorithm
2
k-means will always return exactly this many clusters.
0.140
400
Random seed
Every result on this page is a deterministic function of the seed and the controls.
Cluster assignment
Crosses mark centroids; boundaries are implicitly straight lines.
Cluster 1Cluster 2
Elbow curve
Within-cluster sum of squares always falls with k.
Monotone decrease is guaranteed, so a low inertia never validates a choice of k.
Clusters found
2
Labelled noise
0
DBSCAN only
Silhouette
0.500
assumes compact, convex clusters
Adjusted Rand index
0.346
agreement with the generative labels
