Added Loopy Belief Propagation, an approximate variant of the Belief Propagation and Message Passing algorithms that does not use a junction tree but instead continues to exchange messages between nodes until convergence.
Currently it perform 5 iterations before stop.
Further improvement:
add stopping condition when convergence is achieved
Added Loopy Belief Propagation, an approximate variant of the Belief Propagation and Message Passing algorithms that does not use a junction tree but instead continues to exchange messages between nodes until convergence.
Currently it perform 5 iterations before stop.
Further improvement: