bayesnet / bnt

Bayes Net Toolbox for Matlab
460 stars 247 forks source link

general BP inference engine (belprop_inf_engine) not working #6

Open ido opened 10 years ago

ido commented 10 years ago

From jasonsta...@gmail.com on July 31, 2010 18:15:55

The general BP inference (belprop_inf_engine) engine for bayesian networks does not compute marginals properly on even the simplest networks. The Pearl BP inference engine works flawlessly, but the general BP engine for bayesian networks does not. The general BP inference engine for factor graphs works properly also.

Thanks,

Jason

Original issue: http://code.google.com/p/bnt/issues/detail?id=6

ido commented 10 years ago

From mateusz....@gmail.com on November 21, 2012 07:35:43

The belprop_inf_engine gives incorrect results of the MPE as well. The MPE returned by the belprop_inf_engine is different from the ones calculated by other engines for the Cloudy/Rain/Sprinkler/Wet network.

I attach a script to reproduce the error.

Attachment: reproduce_belprop_mpe_error.m