Simple implementation of belief propagation for acyclic graphs using numpy.einsum.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
bayesnet.png
demo.py
message_passing.py

README.md

DAGInference

Simple demo implementation of belief propagation for acyclic graphs using numpy.einsum.

The demo is for inference on the Bayesian network defined by: Graphical model

For more information, see the accompanying blog post.