Discrete Bayesian Network inference with Edward

Hi,

My goal is to use Edward library for discrete data where each node in the network has CPT instead of PDF and applying the Bayesian Network inference.

The following link aims to demo how to use Edward for discrete Bayesian Network inference, but the outputs of the inference are very different comparing the exact inference of OpenMarkov and Bayse server. Would you please help me about using Edward library for discrete data.

https://github.com/gitathrun/Edward_Bayesian_Network/blob/master/Edward_Bayesian_Network_Demo.ipynb