Question: D Bookmark this page Homework due Aug 7 , 2 0 2 4 1 7 : 2 9 IST Consider the following mixture of two

D Bookmark this page
Homework due Aug 7,202417:29 IST
Consider the following mixture of two Gaussians:
p(x;)=1N(x;1,12)+2N(x;2,22)
This mixture has parameters ={1,2,1,2,12,22}. They correspond to the mixing proportions,
means, and variances of each Gaussian. We initialize as 0={0.5,0.5,6,7,1,4}.
We have a dataset D with the following samples of x : x(0)=-1,x(1)=0,x(2)=4,x(3)=5,x(4)=6.
We want to set our parameters such that the data log-likelihood l(D;) is maximized:
argmaxi=04logp(x(i);)
Recall that we can do this with the EM algorithm. The algorithm optimizes a lower bound on the log-likelihood,
thus iteratively pushing the data likelihood upwards. The iterative algorithm is specified by two steps applied
successively:
E-step: infer component assignments from current 0=(complete the data)
p(y=k|x(i)):=p(y=k|x(i);0), for k=1,2, and i=0,dots,4.
M-step: maximize the expected log-likelihood
tilde(l)(D;):=i?k?p(y=k|x(i))log((px(i),yp(y=k|x(i))=k|x(i))=k;)
with respect to while keeping p(y=k|x(i)) fixed.
To see why this optimizes a lower bound, consider the following inequality:
logp(x;)=logy?p(x,y;)
=logy?q(y|x)p(x,y;)q(y|x)
=logEyq(y|x)[p(x,y;)q(y|x)]
Eyq(y|x)[log(p(x,y;)q(y|x))]
=y?q(y|x)log(p(x,y;)q(y|x))
D Bookmark this page Homework due Aug 7 , 2 0 2 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!