Clustering attribution
Pinned algorithm sources, license notices and native implementation attribution for e-means, o-means and p-means.
Development APIsAner's native e-means, o-means and p-means engines share independently written C++, Metal and CUDA implementations. The empirical constants, statistical update rules and lifecycle were checked against the following research and source revisions. Python, FAISS, PyTorch and Triton are not runtime dependencies of these engines.
e-means
Swann Bessa and coauthors, e-means: outperforming k-means (in one tenth the epochs), November 2026, arXiv:2611.09501. See the official project.
Source recipe: facebookresearch/faiss, commit ebab8f784c1d177129602269d5ad966c525fbdcb. Reviewed files include base.py, e_means.py, e_means_torch.py, cute.py, the distributed implementation and benchmark README. The upstream source is MIT licensed; its license and copyright notice remain authoritative for upstream code.
o-means
Rahul Bajaj, Jaya Nupur and Anuj Garg, o-means: Two Level Assignment for Mini Batch k-Means at Large k, November 2026. Official announcement and full paper at pinned website revision.
Source recipe: owlgebra-ai/faiss, commit 9ecbf0c2a2f4ca7a771b552badc145584b09e1a6. Reviewed files include o_means.py, schedule.py, triton_two_level.py, triton_kernels.py, README and the public benchmark. The upstream source declares MIT licensing; consult the source headers and repository license when redistributing upstream code.
p-means
The livingshade/p-means reference, commit 885bc17238fe98b47ab253646a776d7db420d6f9, adds recency closing at every budget, a benchmark recipe and shared GPU optimizations to the o-means lineage. Reviewed files include the complete trainer, inherited schedule, benchmark/scorer, targets, raw results and repository MIT license. No separate p-means paper is linked in the reviewed repository.
The native p-means recipe records that full revision and uses the existing Aner backends. Its default closing length, automatic batch selection, precision, Float32 closing weight floor, stable external IDs and exhaustive output diagnostics are documented in the p-means guide. These port choices do not imply bitwise reproduction of the reference or its H100 performance.
Aner port identity
The native kernels, deterministic grouping, bounded executor integration, Metal storage bridge, external centroid ID indirection and SplitMix64 based random streams are Aner code. This is a native recipe implementation, not a claim of bitwise compatibility with upstream CUDA or Python implementations. Final labels/inertia include a separate exhaustive assignment against returned centers. Native recipe identifiers preserve the reviewed upstream revision; implementation and numerical choices are documented in the e-means and o-means guides.
Author performance claims describe their own hardware and protocols. Aner M2 measurements are separate evidence with their own source, binary and timing identities. Neither source reuse nor citation implies endorsement by the original researchers.