edward icon indicating copy to clipboard operation
edward copied to clipboard

Can edward read a bayes network model?

Open rose1203 opened this issue 7 years ago • 1 comments

Hi,I‘m new to Edward. I wondering whether it can read a bayes network or in what file format of bayes network can it read. THANK YOU!

rose1203 avatar May 10 '18 11:05 rose1203

Hi, "bayes networks" have nothing to do with Bayesian Neural Networks. The latter one are the models that Edward supports building. Those are almost standard Neural Networks but the wight matrices are not hard given values but rather some probability distributions that have to be sampled if one wants to evaluate the network with some input. Once such network is build, Edward can infer the parameters of the distributions for the weights. Those "trained" models can be saved with the standard Tesorflow API for saving the state of a built graph - https://www.tensorflow.org/programmers_guide/saved_model. The from Edward crated TF-session can be acquired with ed.get_session().

palikar avatar Jun 19 '18 12:06 palikar