🧮 Clustering Simulator: k-means, DBSCAN and Hierarchical Linkage in a 3D Data Cube
Watch three clustering algorithms work on the same 3-feature point cloud. k-means (Lloyd with k-means++ seeding) alternates assigning points to the nearest centre and moving centres to the means while the inertia falls at every step, DBSCAN grows clusters from dense core points and marks the rest as noise, and agglomerative clustering merges the closest groups under single, complete, average or Ward linkage. Choose blobs, moons, a ring around a blob, stretched groups or a structureless cloud, then read inertia, silhouette and the adjusted Rand index against the true groups, with elbow and silhouette-versus-K charts. Built-in checks: monotone inertia, a fixed-point test, the Huygens identity, silhouette against a brute-force definition, the Rand index against pair counting, DBSCAN against union-find, the Ward cost identity and single linkage against a minimum spanning tree. Blender-made data cube stage.
Watch three clustering algorithms work on the same 3-feature point cloud. k-means (Lloyd with k-means++ seeding) alternates assigning points to the nearest centre and moving centres to the means while the inertia falls at every step, DBSCAN grows clusters from dense core points and marks the rest as noise, and agglomerative clustering merges the closest groups under single, complete, average or Ward linkage. Choose blobs, moons, a ring around a blob, stretched groups or a structureless cloud, then read inertia, silhouette and the adjusted Rand index against the true groups, with elbow and silhouette-versus-K charts. Built-in checks: monotone inertia, a fixed-point test, the Huygens identity, silhouette against a brute-force definition, the Rand index against pair counting, DBSCAN against union-find, the Ward cost identity and single linkage against a minimum spanning tree. Blender-made data cube stage.
Watch three clustering algorithms work on the same 3-feature point cloud. k-means (Lloyd with k-means++ seeding) alternates assigning points to the nearest centre and moving centres to the means while the inertia falls at every step, DBSCAN grows clusters from dense core points and marks the rest as noise, and agglomerative clustering merges the closest groups under single, complete, average or Ward linkage. Choose blobs, moons, a ring around a blob, stretched groups or a structureless cloud, then read inertia, silhouette and the adjusted Rand index against the true groups, with elbow and silhouette-versus-K charts. Built-in checks: monotone inertia, a fixed-point test, the Huygens identity, silhouette against a brute-force definition, the Rand index against pair counting, DBSCAN against union-find, the Ward cost identity and single linkage against a minimum spanning tree. Blender-made data cube stage.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install