All Projects → biaslab → Forneylab.jl

biaslab / Forneylab.jl

Licence: other
Julia package for automatically generating Bayesian inference algorithms through message passing on Forney-style factor graphs.

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to Forneylab.jl

statrethink course in pymc3
Statistical Rethinking course in pymc3
Stars: ✭ 141 (+62.07%)
Mutual labels:  bayesian-methods
Uncertainty Baselines
High-quality implementations of standard and SOTA methods on a variety of tasks.
Stars: ✭ 278 (+219.54%)
Mutual labels:  bayesian-methods
Probabilistic Programming And Bayesian Methods For Hackers
aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
Stars: ✭ 23,912 (+27385.06%)
Mutual labels:  bayesian-methods
bayseg
An unsupervised machine learning algorithm for the segmentation of spatial data sets.
Stars: ✭ 46 (-47.13%)
Mutual labels:  bayesian-methods
multi channel bpr
Implementation of Bayesian Personalized Ranking (BPR) for Multiple Feedback Channels
Stars: ✭ 25 (-71.26%)
Mutual labels:  bayesian-methods
Probability
Probabilistic reasoning and statistical analysis in TensorFlow
Stars: ✭ 3,550 (+3980.46%)
Mutual labels:  bayesian-methods
Pyemma
🚂 Python API for Emma's Markov Model Algorithms 🚂
Stars: ✭ 200 (+129.89%)
Mutual labels:  bayesian-methods
Da Tutorials
Course on data assimilation (DA)
Stars: ✭ 43 (-50.57%)
Mutual labels:  bayesian-methods
Bayesab
🐢 bayesAB: Fast Bayesian Methods for A/B Testing
Stars: ✭ 273 (+213.79%)
Mutual labels:  bayesian-methods
Edward
A probabilistic programming language in TensorFlow. Deep generative models, variational inference.
Stars: ✭ 4,674 (+5272.41%)
Mutual labels:  bayesian-methods
wopr
An R package and Shiny application to provide API access to the WorldPop Open Population Repository (WOPR)
Stars: ✭ 28 (-67.82%)
Mutual labels:  bayesian-methods
LogDensityProblems.jl
A common framework for implementing and using log densities for inference.
Stars: ✭ 26 (-70.11%)
Mutual labels:  bayesian-methods
Edward2
A simple probabilistic programming language.
Stars: ✭ 419 (+381.61%)
Mutual labels:  bayesian-methods
Multiagent-RL
Multiagent reinforcement learning simulation framework - Undergraduate thesis in Mechatronics Engineering at the University of Brasília
Stars: ✭ 59 (-32.18%)
Mutual labels:  bayesian-methods
Rhat ess
Rank-normalization, folding, and localization: An improved R-hat for assessing convergence of MCMC
Stars: ✭ 19 (-78.16%)
Mutual labels:  bayesian-methods
BayesianNonparametrics.jl
BayesianNonparametrics in julia
Stars: ✭ 30 (-65.52%)
Mutual labels:  bayesian-methods
Rstanarm
rstanarm R package for Bayesian applied regression modeling
Stars: ✭ 285 (+227.59%)
Mutual labels:  bayesian-methods
Bayesian Machine Learning
Notebooks about Bayesian methods for machine learning
Stars: ✭ 1,202 (+1281.61%)
Mutual labels:  bayesian-methods
Deepbayes
Bayesian methods in deep learning Summer School
Stars: ✭ 15 (-82.76%)
Mutual labels:  bayesian-methods
Bayesian Analysis Recipes
A collection of Bayesian data analysis recipes using PyMC3
Stars: ✭ 479 (+450.57%)
Mutual labels:  bayesian-methods

ForneyLab.jl

Build Status Documentation

ForneyLab.jl is a Julia package for automatic generation of (Bayesian) inference algorithms. Given a probabilistic model, ForneyLab generates efficient Julia code for message-passing based inference. It uses the model structure to generate an algorithm that consists of a sequence of local computations on a Forney-style factor graph (FFG) representation of the model. For an excellent introduction to message passing and FFGs, see The Factor Graph Approach to Model-Based Signal Processing by Loeliger et al. (2007). Moreover, for a comprehensive overview of the underlying principles behind this tool, see A Factor Graph Approach to Automated Design of Bayesian Signal Processing Algorithms by Cox et. al. (2018).

We designed ForneyLab with a focus on flexible and modular modeling of time-series data. ForneyLab enables a user to:

  • Conveniently specify a probabilistic model;
  • Automatically generate an efficient inference algorithm;
  • Compile the inference algorithm to executable Julia code.

The current version supports belief propagation (sum-product message passing), variational message passing and expectation propagation.

The ForneyLab project page provides more background on ForneyLab as well as pointers to related literature and talks. For a practical introduction, have a look at the demos.

Documentation

Full documentation is available at BIASlab website.

It is also possible to build documentation locally. Just execute

$ julia make.jl

in the docs/ directory to build a local version of the documentation.

Installation

Install ForneyLab through the Julia package manager:

] add ForneyLab

If you want to be able to use the graph visualization functions, you will also need to have GraphViz installed. On Linux, just use apt-get install graphviz or yum install graphviz. On Windows, run the installer and afterwards manually add the path of the GraphViz installation to the PATH system variable. On MacOS, use for example brew install graphviz. The dot command should work from the command line.

Some demos use the PyPlot plotting module. Install it using ] add PyPlot.

Optionally, use ] test ForneyLab to validate the installation by running the test suite.

Getting started

There are demos available to get you started. Additionally, the ForneyLab project page contains a talk and other resources that might be helpful.

License

(c) 2019 GN Store Nord A/S. Permission to use this software for any non-commercial purpose is granted. See LICENSE.md file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].