Misc,

Cobaya: Code for Bayesian Analysis of hierarchical physical models

, and .
(2020)cite arxiv:2005.05290Comment: 12 pages, 4 figures.

Abstract

We present Cobaya, a general-purpose Bayesian analysis code aimed at models with complex internal interdependencies. It allows exploration of arbitrary posteriors using a range of Monte Carlo samplers, and also has functions for maximization and importance-reweighting of Monte Carlo samples with new priors and likelihoods. Interdependencies of the different stages of a model pipeline and their individual computational costs are automatically exploited for sampling efficiency, cacheing intermediate results when possible and optimally grouping parameters in blocks, which are sorted so as to minimize the cost of their variation. Cobaya is written in Python in a modular way that allows for extendability, use of calculations provided by external packages, and dynamical reparameterization without modifying its source. It exploits hybrid OpenMP/MPI parallelization, and has sub-millisecond overhead per posterior evaluation. Though Cobaya is a general purpose statistical framework, it includes interfaces to a set of cosmological Boltzmann codes and likelihoods (the latter being agnostic with respect to the choice of the former), and automatic installers for external dependencies.

Tags

Users

  • @citekhatri

Comments and Reviews