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.

Documentation

For examples and API documentation, see readthedocs.

Installation

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.

Citing VIABEL

If you use this package for diagnostics, 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:

@inproceedings{Huggins:2020:VI,
  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}
}

If you use this package for variational inference, please cite:

Robust, Automated, and Accurate Black-box Variational Inference. Manushi Welandawe, Michael Riis Andersen, Aki Vehtari, Jonathan H. Huggins. arXiv:2203.15945 [stat.ML] (2022).

The equivalent BibTeX entry is:

@article{Welandawe:2022:BBVI,
  author = {Welandawe, Manushi and Andersen, Michael Riis and Vehtari, Aki and Huggins, Jonathan H},
  title = {Robust, Automated, and Accurate Black-box Variational Inference},
  journal = {arXiv},
  volume = {arXiv:2203.15945 [stat.ML]},
  year = {2022}
}

Project details


Download files

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

Source Distribution

viabel-0.5.1.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

viabel-0.5.1-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

Details for the file viabel-0.5.1.tar.gz.

File metadata

  • Download URL: viabel-0.5.1.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.3

File hashes

Hashes for viabel-0.5.1.tar.gz
Algorithm Hash digest
SHA256 f8d04dbafa9202dcc1ec442bf3dfd22909c946d00f783cdf877aaa02cfa6ae9f
MD5 fb0f834a16ab2ef54958a83aba8107c8
BLAKE2b-256 e9a3f0de8d64aaa40cb7f91c1b6714bb772cf0c8970668ac75fb96abec25a9bd

See more details on using hashes here.

File details

Details for the file viabel-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: viabel-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 32.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.3

File hashes

Hashes for viabel-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e8ee1ed1189c232eec6ba7083b4902ac20727b5d79ad370e61590b51d4348bd
MD5 b51fa6fa018e4d9b84c8209f4e542f40
BLAKE2b-256 4eac3b1c3db717ce73ac29c015ce858127fbe8387275160dc0d06d96eba096a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page