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.

56
/ 100
Established

This tool helps data scientists and machine learning engineers analyze large datasets by grouping similar data points together. You input raw data, like probability distributions or spectral readings, and it outputs clusters of related data, along with assignments indicating which group each data point belongs to. This is ideal for tasks requiring sophisticated grouping of complex data.

342 stars.

Use this if you need to group vast amounts of specialized data, such as probability distributions or spectral data, using mathematically precise distance measures, and you're working within the Apache Spark ecosystem.

Not ideal if your data is simple and Euclidean distance is sufficient, or if you are not operating on large datasets with Apache Spark.

data-segmentation pattern-recognition spectral-analysis big-data-analytics customer-profiling
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

342

Forks

53

Language

Scala

License

Apache-2.0

Last pushed

Feb 14, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/derrickburns/generalized-kmeans-clustering"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.