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 for when exact inference gets too expensive. It also includes the experiment harness to compare them: each method runs at doubling sample counts, and its percent error against the exact answer and its run time are charted side by side.
Attention: Coursework, kept because it is a complete implementation rather than a skeleton. It has its own test suite.
Built
2025
Who built it
Solo coursework, implemented to a working solution.
Repository
Built with
- Python
- pandas
- Plotly
- unittest
Not a hosted project
Source only
This is a library, not an app. If it were ever worth showing interactively, the right form would be a small page that draws a network and lets you set evidence, which is a new project rather than a deployment.