This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cs401r_w2016:lab13 [2016/02/12 00:06] admin |
cs401r_w2016:lab13 [2016/02/12 23:39] admin |
||
---|---|---|---|
Line 38: | Line 38: | ||
- Compute the responsibilities $r_{ik}$ (Eq. 11.27) | - Compute the responsibilities $r_{ik}$ (Eq. 11.27) | ||
- Update the mixing weights $\pi_k$ (Eq. 11.28) | - Update the mixing weights $\pi_k$ (Eq. 11.28) | ||
- | - Update the means $\mu_k$ (Eq. 11.31) | ||
- Update the covariances $\Sigma_k$ (Eq. 11.32) | - Update the covariances $\Sigma_k$ (Eq. 11.32) | ||
+ | - Update the means $\mu_k$ (Eq. 11.31) | ||
- | Now, repeat until convergence. | + | Now, repeat until convergence. Note that if you change the order of operations, you may get slightly difference convergences than the reference image. |
Since the EM algorithm is deterministic, and since precise initial conditions for your algorithm are given below, the progress of your algorithm should closely match the reference image shown above. | Since the EM algorithm is deterministic, and since precise initial conditions for your algorithm are given below, the progress of your algorithm should closely match the reference image shown above. |