MAP using variable elimination
Let's start with a very basic example of a network A -> B, as shown in the following figure:
For MAP, we want to compute the following:
If we consider any particular assignment a for the variable A, we have the following:
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 ...
Get Mastering Probabilistic Graphical Models Using Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.