Mixture models & EM
Step 17 of 21 in Machine Learning · Build · Hard
Model data as a mix of Gaussians. Expectation-Maximization alternates soft cluster assignment and refitting. Log-likelihood never decreases.
Build it
EM for GMM
2D GMM with full covariances; draw ellipses each iteration.
Done when: Recovers 3 generated Gaussians; log-likelihood monotone.
Resources
Earn this star
On the map, you log what you built. Finish the step and its star lights.
Open this step on the map