Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Probabilistic Graphical Models with Python

You're reading from  Mastering Probabilistic Graphical Models with Python

Product type Book
Published in Aug 2015
Publisher
ISBN-13 9781784394684
Pages 284 pages
Edition 1st Edition
Languages
Author (1):
Ankur Ankan Ankur Ankan
Profile icon Ankur Ankan
Toc

Table of Contents (14) Chapters close

Mastering Probabilistic Graphical Models Using Python
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Bayesian Network Fundamentals 2. Markov Network Fundamentals 3. Inference – Asking Questions to Models 4. Approximate Inference 5. Model Learning – Parameter Estimation in Bayesian Networks 6. Model Learning – Parameter Estimation in Markov Networks 7. Specialized Models Index

MAP using belief propagation


In the previous section, we discussed the MAP variable elimination algorithm. In the same way that we extended the sum-product variable elimination algorithm for the clique tree and ended up on the belief propagation algorithm, we can perform MAP using the belief propagation. In cases where variable elimination can be computationally intractable, belief propagation has a clear advantage.

The procedure for belief propagation remains the same as discussed in the case of the sum-product. The only thing that changes is the message that is passed between the two clusters and . Earlier, we used to compute messages from to , that is , as follows:

However, now, instead of summing out the variables , we will maximize with respect to them. Thus, the message in the case of MAP belief propagation can be formulated as follows:

When both, the upward pass and the downward pass of the messages are complete, all the adjacent clusters of the tree are said to be max-calibrated....

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime