pocoMC: A Python package for accelerated Bayesian inference in astronomy and cosmology
Open Access
- 9 November 2022
- journal article
- research article
- Published by The Open Journal in Journal of Open Source Software
- Vol. 7 (79) , 4634
Abstract
PocoMC is a Python package for accelerated Bayesian inference in astronomy and cosmology. The code is designed to sample efficiently from posterior distributions with non-trivial geometry, including strong multimodality and non-linearity. To this end, pocoMC relies on the Preconditioned Monte Carlo algorithm which utilises a Normalising Flow to decorrelate the parameters of the posterior. It facilitates both tasks of parameter estimation and model comparison, focusing especially on computationally expensive applications. It allows fitting arbitrary models defined as a log-likelihood function and a log-prior probability density function in Python. Compared to popular alternatives (e.g. nested sampling) pocoMC can speed up the sampling procedure by orders of magnitude, cutting down the computational cost substantially. Finally, parallelisation to computing clusters manifests linear scaling.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- pocoMC: A Python package for accelerated Bayesian inference in astronomy and cosmologyJournal of Open Source Software, 2022
- Accelerating astronomical and cosmological inference with preconditioned Monte CarloMonthly Notices of the Royal Astronomical Society, 2022
- Adaptive Monte Carlo augmented with normalizing flowsProceedings of the National Academy of Sciences of the United States of America, 2022
- Accelerated Bayesian inference using deep learningMonthly Notices of the Royal Astronomical Society, 2020
- Markov Chain Monte Carlo Methods for Bayesian Data Analysis in AstronomyAnnual Review of Astronomy and Astrophysics, 2017
- Nested sampling for general Bayesian computationBayesian Analysis, 2006
- Sequential Monte Carlo SamplersJournal of the Royal Statistical Society Series B: Statistical Methodology, 2006