I was going through the Probabilistic Graphical Modelling course by Stanford and they used a network such as this one-https://imgur.com/gallery/k0C8FY2

Now if we want to sample P(A|B), how would we do that? My understanding is that we need to sample A, C and D while keeping the assigned value of B constant. However, the factors only provide us with Joint Probability table of P(A,B,C,D), so how would we compute P(C|B,D)? I am new to Markov Networks and Gibbs sampling so let me know where I might have gone wrong.

EDIT-How can we sample them if we don't know the individual probabilities or the conditional probabilities?


  • $\begingroup$ Please register &/or merge your accounts (you can find information on how to do this in the My Account section of our help center), then you will be able to edit & comment on your own question. $\endgroup$ – gung Nov 16 '18 at 11:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.