Optimal 1D k-means clustering
JSON →kmeans1d is a Python package providing an implementation of optimal k-means clustering specifically for one-dimensional data. It utilizes an O(kn + n log n) dynamic programming algorithm, based on research by Xiaolin (1991) and Gronlund et al. (2017), to find globally optimal k clusters. The core logic is written in C++ for performance and wrapped for Python usage. The library is actively maintained, with its current version being 0.5.0.
Traffic · last 30 days ↑133% vs prev 7d
total hits 13
actors 6 distinct systems
last hit 1d ago MetaBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada
API endpoints
full doc /v1/registry/kmeans1d
install /v1/registry/kmeans1d/install
compatibility /v1/registry/kmeans1d/compatibility