A comparison of algorithms for inference and learning in probabilistic graphical models | Synapse