Bayesian Inference Frameworks

Libraries, algorithms, and educational resources for Bayesian statistical inference, posterior estimation, and model comparison. Includes variational inference, MCMC methods, and Bayesian deep learning. Does NOT include general probabilistic programming languages, frequentist statistics, or domain-specific applications (genetics, trading, etc.) unless they primarily demonstrate Bayesian methodology.

There are 83 bayesian inference frameworks tracked. 15 score above 50 (established tier). The highest-rated is tensorflow/probability at 64/100 with 4,417 stars. 1 of the top 10 are actively maintained.

Get all 83 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=bayesian-inference-frameworks&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Framework Score Tier
1 tensorflow/probability

Probabilistic reasoning and statistical analysis in TensorFlow

64
Established
2 pyro-ppl/pyro

Deep universal probabilistic programming with Python and PyTorch

63
Established
3 erdogant/bnlearn

Python package for Causal Discovery by learning the graphical structure of...

63
Established
4 probml/pyprobml

Python code for "Probabilistic Machine learning" book by Kevin Murphy

61
Established
5 google/edward2

A simple probabilistic programming language.

60
Established
6 astro-informatics/harmonic

Machine learning assisted marginal likelihood (Bayesian evidence) estimation...

58
Established
7 cdslaborg/paramonte

ParaMonte: Parallel Monte Carlo and Machine Learning Library for Python,...

58
Established
8 mohd-faizy/Probabilistic-Deep-Learning-with-TensorFlow

Probabilistic Deep Learning finds its application in autonomous vehicles and...

56
Established
9 probabilistic-numerics/probnum

Probabilistic Numerics in Python.

55
Established
10 stan-dev/pystan2

PyStan, the Python interface to Stan

51
Established
11 wiseodd/MCMC

Collection of Monte Carlo (MC) and Markov Chain Monte Carlo (MCMC)...

51
Established
12 krasserm/bayesian-machine-learning

Notebooks about Bayesian methods for machine learning

51
Established
13 AmazaspShumik/sklearn-bayes

Python package for Bayesian Machine Learning with scikit-learn API

50
Established
14 thu-ml/zhusuan

A probabilistic programming library for Bayesian deep learning, generative...

50
Established
15 liesel-devs/liesel

A probabilistic programming framework

50
Established
16 JavierAntoran/Bayesian-Neural-Networks

Pytorch implementations of Bayes By Backprop, MC Dropout, SGLD, the Local...

49
Emerging
17 blei-lab/edward

A probabilistic programming language in TensorFlow. Deep generative models,...

49
Emerging
18 dotnet/mbmlbook

Sample code for the Model-Based Machine Learning book.

49
Emerging
19 yell/boltzmann-machines

Boltzmann Machines in TensorFlow with examples

49
Emerging
20 jmschrei/pomegranate

Fast, flexible and easy to use probabilistic modelling in Python.

49
Emerging
21 minaskar/pocomc

pocoMC: A Python implementation of Preconditioned Monte Carlo for...

49
Emerging
22 Joseph94m/MCMC

Implementation of Markov Chain Monte Carlo in Python from scratch

49
Emerging
23 AI-sandbox/ADAMIXTURE

Fast population clustering with Adam-EM Optimization.

48
Emerging
24 robinthibaut/skbel

SKBEL - Bayesian Evidential Learning framework built on top of scikit-learn.

47
Emerging
25 ericmjl/bayesian-deep-learning-demystified

In which I try to demystify the fundamental concepts behind Bayesian deep learning.

47
Emerging
26 acerbilab/pyvbmc

PyVBMC: Variational Bayesian Monte Carlo algorithm for posterior and model...

47
Emerging
27 acerbilab/vbmc

Variational Bayesian Monte Carlo (VBMC) algorithm for posterior and model...

46
Emerging
28 inferno-ml/inferno

Bayesian Deep Learning in PyTorch

45
Emerging
29 altdeep/probmodeler

A open source repository supporting the Probabilistic Modeler in Three...

44
Emerging
30 bayesgroup/deepbayes-2018

Seminars DeepBayes Summer School 2018

43
Emerging
31 PySloth/pysloth

A Python Package for Probabilistic Prediction

42
Emerging
32 sjchoi86/bayes-nn

Lecture notes on Bayesian deep learning

42
Emerging
33 kyle-dorman/bayesian-neural-network-blogpost

Building a Bayesian deep learning classifier

42
Emerging
34 google/bayesnf

Bayesian Neural Field models for prediction in large-scale spatiotemporal datasets

42
Emerging
35 wbasener/BayesianML

This is a GitHub repository for our Bayeisan Machine Learning textbook,...

41
Emerging
36 pierrePalud/beetroots

Beetroots (BayEsian invErsion with spaTial Regularization of nOisy...

41
Emerging
37 differential-machine-learning/notebooks

Implement, demonstrate, reproduce and extend the results of the Risk...

40
Emerging
38 gerdm/bayes

Neat Bayesian machine learning examples

40
Emerging
39 clinicalml/dmm

Deep Markov Models

39
Emerging
40 florent-leclercq/Bayes_InfoTheory

Lectures on Bayesian statistics and information theory

39
Emerging
41 js05212/BayesianDeepLearning-Survey

Bayesian Deep Learning: A Survey

38
Emerging
42 bayesml/BayesML

BayesML: your first library for Bayesian machine learning

37
Emerging
43 bodywork-ml/bodywork-pymc3-project

Serving Uncertainty with Bayesian inference, using PyMC3 with Bodywork

37
Emerging
44 lucadellalib/bayestorch

Lightweight Bayesian deep learning library for fast prototyping based on PyTorch

36
Emerging
45 probsys/hierarchical-irm

Probabilistic structure discovery for rich relational systems

36
Emerging
46 thuwzy/ZhuSuan-PyTorch

An Elegant Library for Bayesian Deep Learning in PyTorch

35
Emerging
47 SilvioBaratto/stockpy

Deep Learning Regression and Classification Library built on top of PyTorch and Pyro

35
Emerging
48 AlexIoannides/pymc-example-project

Example PyMC3 project for performing Bayesian data analysis using a...

35
Emerging
49 dalmia/Bayesian_Decision_Making-Datagiri_Mumbai

Jupyter notebook accompanying my talk on "Bayesian Decision Making" for DataGiri

34
Emerging
50 Sanaelotfi/Bayesian_model_comparison

Supporing code for the paper "Bayesian Model Selection, the Marginal...

34
Emerging
51 probabilistic-numerics/probnum-gsoc2022

Information and materials for Google Summer of Code participants developing...

33
Emerging
52 sleglaive/BayesianML

Bayesian methods for machine learning course at CentraleSupélec

33
Emerging
53 haihabi/Learned-BCRB

This repository contains a python package that computes the Learned Bayesian...

31
Emerging
54 desy-ml/cheetah-demos

Demos of Cheetah being used for various applications presented in "Cheetah:...

31
Emerging
55 mikeroyal/Bayesian-Statistics-Guide

Bayesian Statistics Guide

29
Experimental
56 Rapfff/jajapy

Baum-Welch for all kind of Markov models

29
Experimental
57 draktr/monte-library

Monte is a set of Monte Carlo methods in Python. The package is written to...

29
Experimental
58 aljaca/MST.PMDN

MST.PMDN: 'torch for R' package implementing the deep Multivariate Skew...

27
Experimental
59 Hundredor/python-bayesian-network-inference

🧠 Implement Bayesian network inference in Python with exact and approximate...

27
Experimental
60 thu-ml/Zhusuan-Jittor

Zhusuan with backend Jittor

27
Experimental
61 navreeetkaur/bayesian-network-learning

Learning Bayesian Network parameters using Expectation-Maximisation

27
Experimental
62 hal-lab-u-tokyo/OpenBNSL

OpenBNSL is a unified framework for fair, reproducible, and transparent...

26
Experimental
63 konstantinos-p/Bayesian-Neural-Networks-Reading-List

A primer on Bayesian Neural Networks. The aim of this reading list is to...

25
Experimental
64 Saba-Kublashvili/bayesian-computational-modeling

A popular Neuro-Symbolic framework combining Causal Inference, Game Theory,...

25
Experimental
65 fless-lab/rsi-framework

Bayesian framework for zero-shot compliance monitoring in rule-governed...

23
Experimental
66 Kucharssim/bayesflow-amortized-mixtures

Amortized Bayesian Mixture Models

22
Experimental
67 virbahu/monte-carlo-sc-network

Monte Carlo simulation SC network robustness

22
Experimental
68 vishal-labade/bayesian_models

A modular Bayesian inference platform built from scratch using NumPy,...

22
Experimental
69 SaiSampathKedari/MonteCarlo-Statistical-Methods

A visual, hands-on introduction to Monte Carlo methods with clean...

21
Experimental
70 erstre/loopy_belief_propagation

Matlab implementation of Loopy Belief Propagation algorithm for...

19
Experimental
71 llfung/ODR-BINDy

Model discovery based on Bayesian Evidence (a.k.a. marginal likelihood) and...

19
Experimental
72 aaron1rcl/metropolis_hastings_from_scratch

MCMC Metropolis Hastings and Bayesian Regression from Scratch

19
Experimental
73 arneschreuder/masters

Training Feedforward Neural Networks with Bayesian Hyper-Heuristics

19
Experimental
74 juandavm/em4gmm

Extremely fast C implementation of the clustering Expectation Maximization...

19
Experimental
75 BrightManu-lang/SPN-param-recovery

A Simple Approximate Bayesian Inference Neural Surrogate for Stochastic...

15
Experimental
76 williambdean/pymc-mlflow-example

MLflow logging for PyMC

15
Experimental
77 damn8daniel/em-algorithm

EM Algorithm from scratch. GMM, HMM (Baum-Welch), Mixture of Factor...

14
Experimental
78 khanfs/ComplexSystemsModelling-Bayesian

Complex Systems Modelling

13
Experimental
79 rm-learning/BayesianAI_DataScience

🫧 Learning the different implementation approaches of bayesian methods using...

11
Experimental
80 abhishek116002/GMMHMM

Using Hidden Markov Model with Gaussian Mixture Model Emissions for...

11
Experimental
81 simranjeet97/Bayesian-Networks-in-AI

Bayesian Networks Explain along with Architecture and Working and Python...

11
Experimental
82 shaunabanana/simple-bayesnet

A simple visual tool to build and run inference on your own Bayesian Network.

10
Experimental
83 KauaHenSilva/python_reduction_boltzmann_digits

This repository contains a Deep Learning project using Restricted Boltzmann...

10
Experimental