Homepage Solution manuals Kevin P. Murphy Machine Learning: a Probabilistic Perspective Exercise 5.1 - Proof that a mixture of conjugate priors is indeed conjugate

Exercise 5.1 - Proof that a mixture of conjugate priors is indeed conjugate

Answers

The mixed conjugate prior takes the form (5.68):

p ( 𝜃 ) = k p ( z = k ) p ( 𝜃 | z = k ) ,

where k is the index for mixed components. Each p ( 𝜃 | z = k ) is a conjugate prior for the model, i.e., p ( 𝜃 | z = k ) and p ( 𝜃 | z = k , 𝒟 ) takes the same form.

For the posterior in this case:

p ( 𝜃 | 𝒟 ) = k p ( 𝜃 , z = k | 𝒟 ) = k p ( z = k | 𝒟 ) p ( 𝜃 | z = k , 𝒟 ) .

So the posterior is still a mixture of conjugate priors. This is exactly (5.69), finally:

p ( z = k | 𝒟 ) = p ( z = k , 𝒟 ) p ( 𝒟 ) = p ( z = k ) p ( 𝒟 | p ( z = k ) ) k p ( z = k ) p ( 𝒟 | p ( z = k ) ) ,

from Bayes rules. The computation bottleneck in computing p ( z = k | 𝒟 ) is:

p ( 𝒟 | z = k ) = p ( 𝒟 | 𝜃 ) p ( 𝜃 | z = k ) d 𝜃 ,

which is not a easy task as well.

User profile picture
2021-03-24 13:42
Comments