Skip to main content

Efficient, lightweight variational inference and approximation bounds

Project description

VIABEL: Variational Inference and Approximation Bounds that are Efficient and Lightweight

Build Status Code Coverage Documentation Status

VIABEL is a library (still in early development) that provides two types of functionality:

  1. A lightweight, flexible set of methods for variational inference that is agnostic to how the model is constructed. All that is required is a log density and its gradient.
  2. Methods for computing bounds on the errors of the mean, standard deviation, and variance estimates produced by a continuous approximation to an (unnormalized) distribution. A canonical application is a variational approximation to a Bayesian posterior distribution.


For examples and API documentation, see readthedocs.


You can install the latest stable version using pip install viabel. Alternatively, you can clone the repository and use the master branch to get the most up-to-date version.


If you use this package, please cite:

Validated Variational Inference via Practical Posterior Error Bounds. Jonathan H. Huggins, Mikołaj Kasprzak, Trevor Campbell, Tamara Broderick. In Proc. of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS), Palermo, Italy. PMLR: Volume 108, 2020.

The equivalent BibTeX entry is:

  author = {Huggins, Jonathan H and Kasprzak, Miko{\l}aj and Campbell, Trevor and Broderick, Tamara},
  title = {{Validated Variational Inference via Practical Posterior Error Bounds}},
  booktitle = {Proc. of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS)},
  year = {2020}

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for viabel, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size viabel-0.4.2-py3-none-any.whl (24.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size viabel-0.4.2.tar.gz (21.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page