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

Kmeans Python Packages

Python packages with the GitHub topic kmeans. Sorted by monthly downloads, with stars and forks.
dstein64
kmeans1d

A Python package for optimal 1D k-means clustering.

11K 55 10
donishadsmith
neurocaps

A Python package for performing Co-Activation Patterns (CAPs) analyses on resting-state and task-based fMRI data.

3K 19 5
ilgrad
betula-cluster

Memory-bounded clustering for large embeddings and tabular streams: BETULA cluster features in a Rust core, then k-means / GMM / Ward / spectral / Leiden / HDBSCAN on the compressed summary. Streaming partial_fit, scikit-learn API, PyO3, no LAPACK or SciPy at runtime.

3K 6 0
milesgranger
gap-stat

Dynamically get the suggested clusters in the data for unsupervised learning.

1K 230 50
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
arclabs561
clumppy

Clustering algorithms

981 0 0
BGU-CS-VIL
pdc-dp-means

"Revisiting DP-Means: Fast Scalable Algorithms via Parallelism and Delayed Cluster Creation" [Dinari and Freifeld, UAI 2022]

813 21 3
metakirby5
colorz

:art: A k-means color scheme generator.

446 189 11
borchero
pycave

Traditional Machine Learning Models for Large-Scale Datasets in PyTorch.

435 129 13
kmaurinjones
allmeans

Automatic topic modelling using minimal external input and computational resources

386 2 0
semoglou
cake-ensemble

Confidence in Assignments via K-partition Ensembles

306 1 0
src-d
libkmcuda

Large scale K-means and K-nn implementation on NVIDIA GPU / CUDA

247 840 146
shreyas-bk
optimalcluster

OptimalCluster is the Python implementation of various algorithms to find the optimal number of clusters. The algorithms include elbow, elbow-k_factor, silhouette, gap statistics, gap statistics with standard error, and gap statistics without log. Various types of visualizations are also supported.

227 2 0
ferrocactus
constrainedkmeans

Constrained KMeans algorithm.

204 8 0
thieu1995
metacluster

MetaCluster: An Open-Source Python Library for Metaheuristic-based Clustering Problems

184 17 4
danielgribel
hgpack

Source code of HG-means clustering, from "HG-means: A scalable hybrid genetic algorithm for minimum sum-of-squares clustering". (Gribel and Vidal, 2019)

157 10 3
becxer
pytrain

Machine Learning library for python

128 21 5
MaartenGr
vectors-of-locally-aggregate-concepts

Vectors of Locally Aggregated Concepts

125 14 5
aware-diag-sapienza
pek

Progressive Ensemble K-means clustering

124 0 0
MaartenGr
vlac

Vectors of Locally Aggregated Concepts

114 14 5
EdoardoBotta
rectokens

[Pytorch] Efficient tokenization for recommendations and generative retrieval. Inspired by STATIC decoding from "Vectorizing the Trie"

102 9 2
hanxiao
flash-kmeans-mlx

IO-aware batched K-Means for Apple Silicon, ported from Flash-KMeans (Triton/CUDA) to pure MLX. Up to 94x faster than sklearn.

90 18 0
NicolasBizzozzero
clus

Clustering and fuzzy-clustering library with integrated CLI

75 9 4
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology