Home▸AI & Machine Learning▸Spherical K-Means Document Clustering: Cosine Similarity, Centroids and Silhouette Score

Spherical K-Means Document Clustering: Cosine Similarity, Centroids and Silhouette Score

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.

AI & Machine Learning3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Spherical K-Means Document Clustering: Cosine Similarity, Centroids and Silhouette Score ↗ 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

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.

Topic ClustersK-MeansCosine SimilarityDocument ClusteringSilhouette ScoreTopic Modeling

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)