BayesMix: Bayesian Mixture Models in C plus

被引:2
作者
Beraha, Mario [1 ]
Gianella, Matteo [2 ]
Guindani, Bruno [3 ]
Guglielmi, Alessandra [2 ]
机构
[1] Univ Milan, Bicocca Dept Econ Management & Stat Milano, I-20126 Milan, Italy
[2] Politecn Milan, Dept Math, Milan, Italy
[3] Politecn Milan, Dept Elect Informat & Bioengn, Milan, Italy
基金
欧洲研究理事会;
关键词
model-based clustering; density estimation; MCMC; object oriented programming; C plus plus; modularity; extensibility; SAMPLING METHODS; UNKNOWN NUMBER; DIRICHLET; INFINITY; FINITE; PRIORS;
D O I
10.18637/jss.v112.i09
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
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. We also provide Python (bayesmixpy) and R (bayesmixr) interfaces. Our library is publicly available on GitHub at https://github.com/bayesmix-dev/bayesmix/.
引用
收藏
页数:40
相关论文
共 53 条
[1]  
[Anonymous], 2011, R: A language and environment for statistical computing
[2]  
Arbel J, 2023, BNPdensity: Ferguson-Klass Type Algorithm for Posterior Normalized Random Measures, DOI [10.32614/CRAN.package.BNPdensity.Rpackageversion2023.3.8, DOI 10.32614/CRAN.PACKAGE.BNPDENSITY.RPACKAGEVERSION2023.3.8]
[3]   IS INFINITY THAT FAR? A BAYESIAN NONPARAMETRIC PERSPECTIVE OF FINITE MIXTURE MODELS [J].
Argiento, Raffaele ;
De Iorio, Maria .
ANNALS OF STATISTICS, 2022, 50 (05) :2641-2663
[4]   Modeling with Normalized Random Measure Mixture Models [J].
Barrios, Ernesto ;
Lijoi, Antonio ;
Nieto-Barajas, Luis E. ;
Prunster, Igor .
STATISTICAL SCIENCE, 2013, 28 (03) :313-334
[5]   Childhood obesity in Singapore: A Bayesian nonparametric approach [J].
Beraha, Mario ;
Guglielmi, Alessandra ;
Quintana, Fernando Andres ;
De Iorio, Maria ;
Eriksson, Johan Gunnar ;
Yap, Fabian .
STATISTICAL MODELLING, 2024, 24 (06) :541-560
[6]   Dirichlet-Laplace Priors for Optimal Shrinkage [J].
Bhattacharya, Anirban ;
Pati, Debdeep ;
Pillai, Natesh S. ;
Dunson, David B. .
JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 2015, 110 (512) :1479-1490
[7]  
Bivand RS, 2015, J STAT SOFTW, V63, P1
[8]   Latent Dirichlet allocation [J].
Blei, DM ;
Ng, AY ;
Jordan, MI .
JOURNAL OF MACHINE LEARNING RESEARCH, 2003, 3 (4-5) :993-1022
[9]   Importance conditional sampling for Pitman-Yor mixtures [J].
Canale, Antonio ;
Corradin, Riccardo ;
Nipoti, Bernardo .
STATISTICS AND COMPUTING, 2022, 32 (03)
[10]   Stan: A Probabilistic Programming Language [J].
Carpenter, Bob ;
Gelman, Andrew ;
Hoffman, Matthew D. ;
Lee, Daniel ;
Goodrich, Ben ;
Betancourt, Michael ;
Brubaker, Marcus A. ;
Guo, Jiqiang ;
Li, Peter ;
Riddell, Allen .
JOURNAL OF STATISTICAL SOFTWARE, 2017, 76 (01) :1-29