pmtk3 icon indicating copy to clipboard operation
pmtk3 copied to clipboard

dgmLogprobTest fails

Open ido opened this issue 11 years ago • 0 comments

From murphyk2 on February 28, 2011 14:55:12

What steps will reproduce the problem? Edit dgmLogprobTest line 92 uncomment this line:

%assert(approxeq(logZ7, logZ1, tol));

Then run dgmLogproTest. What is the expected output? What do you see instead? When trial=2, so all nodes are clamped, the logprob can be computed by multiplying all the CPDs together, since the model is fully visible. This should give the same result as the normalization constant for inference. However, the assertion is violated. Please use labels and text to provide additional information. Bayes net probability of the evidence computation is failing. Pretty fundamental... (seems to work if libdai on path - not sure what the connection is, the libdai should not need to be called if the model is fully visible)

Original issue: http://code.google.com/p/pmtk3/issues/detail?id=18

ido avatar Jan 04 '14 01:01 ido