aslanides / dag-inference

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Python 100.0%