Skip to contents

Authors

  • James Joseph Balamuta. Author, maintainer, copyright holder.

  • Gergely Szilvasy. Contributor.
    Wrote the faiss Python code this package is ported from; not involved in this package

  • Swann Bessa. Contributor.
    Wrote the faiss Python code this package is ported from; not involved in this package

  • Matthijs Douze. Contributor.
    Wrote the faiss Python code this package is ported from; not involved in this package

  • Meta Platforms, Inc. and affiliates. Copyright holder.

Citation

Source: inst/CITATION

Bessa S, Mazaré P-E, Szilvasy G, Touvron H, Picard D, Douze M, Jégou H (2026). e-means: outperforming k-means (in one-tenth the epochs). Preprint. https://arxiv.org/abs/2611.09501

@Misc{bessa2026emeans,
  title = {{e-means}: outperforming {k-means} (in one-tenth the epochs)},
  author = {Swann Bessa and Pierre-Emmanuel Mazaré and Gergely Szilvasy and Hugo Touvron and David Picard and Matthijs Douze and Hervé Jégou},
  year = {2026},
  note = {Preprint},
  url = {https://arxiv.org/abs/2611.09501},
}

Szilvasy G, Bessa S, Douze M (2026). e-means in FAISS: the reference Python implementation (contrib/e_means). Meta FAIR. Released in FAISS 1.16.0. https://github.com/facebookresearch/faiss/tree/main/contrib/e_means

@Manual{szilvasy2026emeansfaiss,
  title = {{e-means} in {FAISS}: the reference {Python} implementation (contrib/e_means)},
  author = {Gergely Szilvasy and Swann Bessa and Matthijs Douze},
  organization = {Meta FAIR},
  year = {2026},
  note = {Released in FAISS 1.16.0. The emeans R package ports commit 2b648f0605f2ef3d14c4705350f8a0b214463878},
  url = {https://github.com/facebookresearch/faiss/tree/main/contrib/e_means},
}

Additional details

Authors of emeans

emeans is written and maintained by James Joseph Balamuta: the R port of
the algorithm, the C++ assignment kernels in src/, the torch backend, the
em_*() batch loop, the broom and tidyclust methods, the documentation and
the tests.

Ported code

The algorithm is ported from the Python implementation of e-means in faiss
contrib/e_means (https://github.com/facebookresearch/faiss), written by
Gergely Szilvasy, Swann Bessa and Matthijs Douze. The files derived from it
are listed in inst/COPYRIGHTS. They are credited as contributors for that
code only and took no part in writing, reviewing or maintaining this package,
so please report problems with it at
https://github.com/coatless-rpkg/emeans/issues.

Copyright holders

  James Joseph Balamuta, for the R package.

  Meta Platforms, Inc. and affiliates, for the faiss code from which the
  files listed in inst/COPYRIGHTS are derived, used under the MIT licence
  reproduced there.