davidhaohanli / bayesnetinference

Python implementation of variable enumeration and variable elimination algorithms for exact inference in probabilistic Bayesian networks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BayesNet.py

Description

This is one of the programming assignments I did in the Introduction to Artificial Intelligence course (CS4365). It implements two algorithms for performing exact inference given a Bayesian network, namely variable enumeration and variable elimination. These exact inference algorithms produce, well, exact probability distribution over the query variable given the observed evidences, as compared to the method of sampling which gives an approximate result.

Full post and description here

License

Creative Commons License

About

Python implementation of variable enumeration and variable elimination algorithms for exact inference in probabilistic Bayesian networks.


Languages

Language:Python 100.0%