Exact inference as an optimization

Before considering the approximate inference methods, let's solve the exact inference problem using the concepts that we have so far developed in this chapter. In the previous sections, we saw that maximizing the energy function is equivalent to minimizing the relative entropy between Q and Exact inference as an optimization. So now, if we restrict ourselves to calibrated cluster trees, we can further simplify the objective function. Restricting ourselves to calibrated cluster trees allows us to rewrite the energy function in a factored form as a sum of terms, each depending directly on only one of the beliefs in Q. This form also reveals structure ...

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.