pomegranate icon indicating copy to clipboard operation
pomegranate copied to clipboard

Sample function of Bayesian network

Open yfpeng1234 opened this issue 8 months ago • 1 comments

Dear author, I found there might be a bug in Bayesian network's sample function. image For the above structure, assuming that the distribution list is ['c', 'a', 'b']: so firstly we will sample for node 'c', but we don't have value of 'a' and 'b', then we will sample for 'a' and 'b'. Finally we will not get the value of 'c' am I right?

yfpeng1234 avatar Jun 19 '24 09:06 yfpeng1234