Importance sampling

As it turns out, likelihood weighting is a special case of a more generic method known as importance sampling. In this section, we will talk about importance sampling and show how likelihood weighting is derived from it.

Importance sampling is an approach used to estimate the expectation of a function Importance sampling relative to some distribution P(X), known as target distribution. As we saw in the previous sections, we can easily do this by generating particles Importance sampling from P and then estimating the following:

However, in some cases, we may want to generate ...

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.