Professional Documents
Culture Documents
Week-10
CSEg4301
Initialization: We start with initial estimates of the bias for each coin (e.g., p1 = p2 = 0.5).
E-Step: For each observed flip, we calculate the probability that it was generated by each
coin.
M-Step: Based on the probabilities calculated in the E-Step, we estimate the new bias for
each coin.
Repeat: We repeat steps 2 and 3 until the estimates converge.
Applications:
General Idea of EM
Idea of EM Alg.
(MLE) Maximum Likelihood Estimation
EM Usecase
Assume that we have two coins C1 and C2
EM - Coin Toss Usecase
EM- coin Toss Usecase
First Experiment
EM- coin Toss Usecase
E:step
E-Step
M:step
For row-2
EM- coin Toss Use case
EM- coin Toss Use case
EM- coin Toss Use case
EM- coin Toss Usecase End
Convergence:
After a few iterations, the estimates of p1 and p2 will converge to their true values. In this
example, the true values of p1 and p2 are 0.8 and 0.54, respectively.
Problems with EM
End of Week-10: EM Algorithm
Thank u!