skip to navigation
skip to content

bayespy 0.5.10

Variational Bayesian inference tools for Python

BayesPy provides tools for Bayesian inference with Python. The user constructs a model as a Bayesian network, observes data and runs posterior inference. The goal is to provide a tool which is efficient, flexible and extendable enough for expert use but also accessible for more casual users.

Currently, only variational Bayesian inference for conjugate-exponential family (variational message passing) has been implemented. Future work includes variational approximations for other types of distributions and possibly other approximate inference methods such as expectation propagation, Laplace approximations, Markov chain Monte Carlo (MCMC) and other methods. Contributions are welcome.

Project information

Copyright (C) 2011-2017 Jaakko Luttinen and other contributors (see below)

BayesPy including the documentation is licensed under the MIT License. See LICENSE file for a text of the license or visit

Latest release
Bug reports
Author Jaakko Luttinen
Mailing list

Continuous integration

Branch Test status Test coverage Documentation
master (stable)
develop (latest)

Similar projects

VIBES ( allows variational inference to be performed automatically on a Bayesian network. It is implemented in Java and released under revised BSD license.

Bayes Blocks ( is a C++/Python implementation of the variational building block framework. The framework allows easy learning of a wide variety of models using variational Bayesian learning. It is available as free software under the GNU General Public License.

Infer.NET ( is a .NET framework for machine learning. It provides message-passing algorithms and statistical routines for performing Bayesian inference. It is partly closed source and licensed for non-commercial use only.

PyMC ( provides MCMC methods in Python. It is released under the Academic Free License.

OpenBUGS ( is a software package for performing Bayesian inference using Gibbs sampling. It is released under the GNU General Public License.

Dimple ( provides Gibbs sampling, belief propagation and a few other inference algorithms for Matlab and Java. It is released under the Apache License.

Stan ( provides inference using MCMC with an interface for R and Python. It is released under the New BSD License.

PBNT - Python Bayesian Network Toolbox ( is Bayesian network library in Python supporting static networks with discrete variables. There was no information about the license.


The list of contributors:

  • Jaakko Luttinen
  • Hannu Hartikainen
  • Deebul Nair
  • Christopher Cramer
  • Till Hoffmann

Each file or the git log can be used for more detailed information.

File Type Py Version Uploaded on Size
bayespy-0.5.10.tar.gz (md5) Source 2017-09-02 384KB