BayesMix: Bayesian Mixture Models in C++

Mario Beraha, Bruno Guindani, Matteo Gianella, Alessandra Guglielmi
5/17/2022
stat.COstat.OT
bayesian

Official code: bayesmix-dev/bayesmix (31 stars, C++, BSD-3-Clause, last commit 2025-07-01).

Abstract

We describe BayesMix, a C++ library for MCMC posterior simulation for general Bayesian mixture models. The goal of BayesMix is to provide a self-contained ecosystem to perform inference for mixture models to computer scientists, statisticians and practitioners.

Show full abstract

The key idea of this library is extensibility, as we wish the users to easily adapt our software to their specific Bayesian mixture models. In addition to the several models and MCMC algorithms for posterior inference included in the library, new users with little familiarity on mixture models and the related MCMC algorithms can extend our library with minimal coding effort. Our library is computationally very efficient when compared to competitor software. Examples show that the typical code runtimes are from two to 25 times faster than competitors for data dimension from one to ten. Our library is publicly available on Github at https://github.com/bayesmix-dev/bayesmix/.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Flexible Bayesian nonparametric mixture models in C++

3120C++, Jupyter NotebookJun 15, 20201 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{beraha2022bayesmix,
  title  = {BayesMix: Bayesian Mixture Models in C++},
  author = {Mario Beraha and Bruno Guindani and Matteo Gianella and Alessandra Guglielmi},
  year   = {2022},
  eprint = {2205.08144},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.08144}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.08144.svg)](https://codeofpaper.com/paper/2205.08144)

Discussion