MAP using variable elimination

Let's start with a very basic example of a network A -> B, as shown in the following figure:

MAP using variable elimination

Fig 3.13: Basic Bayesian network with two variables

For MAP, we want to compute the following:

MAP using variable elimination

If we consider any particular assignment a for the variable A, we have the following:

MAP using variable elimination

So, for any given assignment of A, we have to select the assignment of B for which P(b|a) is at maximum. We also have to select the maximum assignment of B as any given assignment of A doesn't guarantee that it would be the global maximum. Therefore, we need to check the values for each assignment of A.

Now, let's try to find the MAP assignment for the network in the Fig 3.13. Assuming the assignment from A to MAP using variable elimination, let's define MAP using variable elimination MAP using variable elimination and similarly, MAP using variable elimination. Now, let's compute the max-marginal over A:

MAP using variable elimination
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset