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.
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.
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.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install