Package: geokmeans 0.1.0

Parichit Sharma

geokmeans: A Collection of Fast, Exact and Eco-Friendly k-Means Clustering Algorithms

A collection of fast k-means clustering algorithms under a single, uniform interface. The core method is Geometric-k-means, a bound-free algorithm of Sharma et al. (2026) <doi:10.1007/s10994-025-06891-1> that uses geometry to restrict computation to the data points able to change clusters, substantially reducing distance computations and runtime while returning the same result as standard k-means. Also included are Lloyd's algorithm, Elkan, Hamerly, Annulus, Exponion, and Ball k-means. All algorithms are implemented in 'C++' via 'Rcpp' and 'RcppEigen' and return the final centroids, optional per-point cluster assignments, and computational statistics.

Authors:Parichit Sharma [aut, cre, cph], Hasan Kurban [aut]

geokmeans_0.1.0.tar.gz
geokmeans_0.1.0.tar.gz(r-4.7-arm64)geokmeans_0.1.0.tar.gz(r-4.7-x86_64)geokmeans_0.1.0.tar.gz(r-4.6-arm64)geokmeans_0.1.0.tar.gz(r-4.6-x86_64)
geokmeans_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
geokmeans/json (API)
NEWS

# Install 'geokmeans' in R:
install.packages('geokmeans', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/parichit/geometric-k-means/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

2.70 score 8 exports 2 dependencies

Last updated from:fa9a822ae3. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK122
linux-devel-x86_64OK130
source / vignettesOK195
linux-release-arm64OK124
linux-release-x86_64OK124
wasm-releaseOK112

Exports:annulus_kmeansball_kmeanselkan_kmeansexponion_kmeansgeo_kmeanshamerly_kmeanskmeans_dclloyd_kmeans

Dependencies:RcppRcppEigen

Getting started with geokmeans

Rendered fromgeokmeans.Rmdusingknitr::rmarkdownon Jun 22 2026.

Last update: 2026-06-22
Started: 2026-06-22

Readme and manuals

Help Manual

Help pageTopics
k-Means clustering algorithmsannulus_kmeans ball_kmeans elkan_kmeans exponion_kmeans geo_kmeans hamerly_kmeans kmeans_algorithms lloyd_kmeans
Run a k-means variant by namekmeans_dc