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 reported on code.google.com by murphyk2 on 28 Feb 2011 at 7:55
Original issue reported on code.google.com by
murphyk2
on 28 Feb 2011 at 7:55