0

I'm currently studying the Junction Tree Algorithm: I'm referring to the process of transforming a Bayesian Network into a Junction Tree in order to apply inference. I understand how you build the Junction Tree, but I'm stuck on the idea of message passing.

What exactly are these messages? Are they numbers, or vectors?

If any of you could direct me to a numerical example that would be very appreciated.

nbro
  • 39,006
  • 12
  • 98
  • 176
Genoma
  • 25
  • 3

1 Answers1

0

I think an example could make you understand better. Suppose you want to calculate $P(X|S)$, you now need to put evidence on $S$(so you have to change all tables where $S$ appears making probability zero where $S$ does not appear). At this point, you can proceed with the collect and distribute method in order to propagate the evidence throughout the graph, in order to maintain the global consistency property. Now you can choose any $cluster\space V$ that contains $X$, marginalize with respect to $S$, and the job is done.

Faizy
  • 1,074
  • 1
  • 6
  • 30
cipher
  • 16