← Back to all projects
Bayesian Network Inference Engine cover image

Bayesian Network Inference Engine

A complete probabilistic inference engine for discrete Bayesian networks. It supports exact inference by enumeration over the topological ordering, and three approximate sampling methods when exact inference gets too expensive. The Gibbs sampler is the interesting one, because it needs the Markov blanket of each variable to resample it correctly, and that is computed from the graph rather than hardcoded.

Attention: Coursework, kept because it is a genuinely complete implementation rather than a skeleton. It has its own test suite.

Built

2025

Who built it

Solo coursework, implemented to a working solution.

Built with

Not a hosted project

Source only

This is a library, not an app. If it were ever worth showing off interactively, the right form would be a small page that draws a network and lets you set evidence, but that is a new project rather than a deployment.