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. 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/.
翻译:我们描述BayesMix,这是用于一般Bayesian混合物模型的MCMC后部模拟的C++图书馆。BayesMix的目标是为计算机科学家、统计学家和从业者提供一个自足的生态系统,以对混合物模型进行推断。这个图书馆的关键想法是可以推广的,因为我们希望用户能够方便地将我们的软件与他们特定的Bayesian混合物模型相适应。除了图书馆中包含的关于后部推断的几个模型和MCMC算法外,对混合物模型和相关的MCMC算法不太熟悉的新用户可以以最小的编码努力扩展我们的图书馆。我们的图书馆与Competor软件相比,计算效率非常高。例子显示典型的代码运行时间比1到10的数据方面的竞争者快2至25倍。我们的图书馆可在Githubhttps://github.com/bayesmix-dev/bayesmix/上公开查阅。