derrickburns/generalized-kmeans-clustering
Production-ready K-Means clustering for Apache Spark with pluggable Bregman divergences (KL, Itakura-Saito, L1, etc). 6 algorithms, 740 tests, cross-version persistence. Drop-in replacement for MLlib with mathematically correct distance functions for probability distributions, spectral data, and count data.
192 best points · 93 comments · 3 Hacker News posts · 342 GitHub stars · View on GitHub
Hacker News discussions
- Generalized K-Means Clustering (192 points, 80 comments, by derrickrburns, 2024-01-13)
- Generalized K-Means Clustering (41 points, 12 comments, by derrickrburns, 2025-10-20)
- Generalized K-Means Clustering for Apache Spark with Bregman Divergences (3 points, 1 comments, by derrickrburns, 2025-10-19)