Home▸AI & Machine Learning▸Spherical K-Means Document Clustering: Rotating Sphere View and Centroid Similarity (2D)

Spherical K-Means Document Clustering: Rotating Sphere View and Centroid Similarity (2D)

A rotating projection of the same document vectors with coloured clusters and centroid stars, plus the centroid-to-centroid cosine matrix and cluster sizes. The same shared model and numerical checks as the 3D version.

AI & Machine Learning2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Spherical K-Means Document Clustering: Rotating Sphere View and Centroid Similarity (2D) ↗ Open standalone

Watch document vectors on a glass unit sphere being grouped by spherical k-means. Choose how many real topics exist, how tight they are and how many clusters to ask for, then step through the algorithm to see the cosine objective rise, centroids move and the silhouette score and purity respond. A Blender-built globe, with numerical checks of the algorithm built in.

⚙ Under the hood

A rotating projection of the same document vectors with coloured clusters and centroid stars, plus the centroid-to-centroid cosine matrix and cluster sizes. The same shared model and numerical checks as the 3D version.

K-MeansCosine SimilarityDocument ClusteringSilhouette ScoreTopic Modeling

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)