In this repository, I have programmed a small version of the Belief Propagation algorithm on polytrees. In the file recursive.py
the whole process of using this package is shown. The calculations happen inside of the file node.py
.
Belief Propagation for poly trees
In this repository, I have programmed a small version of the Belief Propagation algorithm on polytrees. In the file recursive.py
the whole process of using this package is shown. The calculations happen inside of the file node.py
.
Belief Propagation for poly trees