Inference, prediction and optimization of non-pharmaceutical interventions using compartment models: the PyRoss library
R. AdhikariAusten Bolitho…Patrick Pietzonka
PyRoss is an open-source Python library for inference, prediction, and optimization of non-pharmaceutical interventions (NPIs) using age- and contact-structured compartment models. It supports stochastic (master equation) and deterministic (ODE) formulations, with mid-run switching and arbitrary compartmental subdivision (e.g., hospitalization, quarantine). Bayesian parameter inference enables model comparison and fully Bayesian forecasts that incorporate uncertainties from data, model choice, parameters, and stochasticity. Optimization algorithms for time-dependent NPI scenarios against user-defined cost functions are included. The library is illustrated for well-mixed, age-structured populations.

arXiv ·
· May 19, 2020