PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

K Means Python Packages

Python packages with the GitHub topic k-means. Sorted by monthly downloads, with stars and forks.
joshlk
k-means-constrained

K-Means clustering - constrained with minimum and maximum cluster size. Documentation: https://joshlk.github.io/k-means-constrained

41K 239 45
urschrei
ckmeans

A Python package for fast 1D clustering using a Rust binary. Prefer ckmeans to Jenks.

10K 3 0
ekhodzitsky
polyvoice

CPU speaker diarization with native INT8 kernels. Rust, CLI, Python and C interfaces; no ONNX Runtime in the core.

3K 20 3
sp-nitech
diffsptk

A differentiable version of SPTK

2K 202 20
cwida
superkmeans

⚡ Super fast clustering for high-dimensional vectors on CPUs (x86, ARM) and GPUs — for Python and C++. Faster clustering of vector embeddings than FAISS

1K 90 9
busimm3318
markov-kmeans

Early stopping for K-means: stop when only boundary points still switch clusters, and settle them from their own label history. Shorter runs, uncertainty flags, soft memberships. Exact Lloyd, mini-batch and EMA (constant-step) training. scikit-learn compatible.

1K 0 0
TankredO
pyckmeans

Consensus and WECR K-Means clustering.

774 17 3
semoglou
compsil

CompSil: Composite Silhouette for Cluster-Count Selection

747 0 0
tsjshg
imgrit

A tiny image processing library with k-means and Voronoi diagram.

667 5 0
crentb
som-multimodal-datareduction

Self-organizing-map (SOM) reduction of multimodal materials data (nanomechanics, Raman, fracture): the packaged analysis behind Renteria et al., JMBBM 2022.

479 0 0
vivek3141
ml-python

Easy to use high level python library for popular machine learning algorithms. Has in-built support for graphing and optimizers based in C++.

343 17 3
clara-labs
spherecluster

Clustering routines for the unit sphere

337 361 78
Dova-Digit
dovalens

CLI for dataset profiling, statistics, clustering/anomaly detection, and drift (KS); generates a single HTML report from a CSV.

212 0 0
alfurka
synloc

A Python Package to Create Synthetic Tabular Data

179 3 0
semoglou
composite-silhouette

A clustering evaluation framework that combines micro- and macro-averaged silhouette scores into a composite metric using statistical weighting.

139 1 1
kuslavicek
ballot

High-performance Python package for balanced k-means clustering using optimal transport and entropic regularization

77 2 1
inEXASCALE
mp-kmeans

Real mixed-precision k-means

43 2 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology