GMMs
1. Model
Data = mix of Gaussians with weights (sum ):
Soft clustering: point belongs to all components with probabilities (responsibilities), unlike -means hard assignment.
2. Training by EM
E:
M: = weighted mean with , = weighted covariance, = mean .
3. GMM vs K-means
| K-means | GMM | |
|---|---|---|
| Assignment | hard (nearest) | soft (probabilities) |
| Shape | spheres | ellipses (full ) |
| Needs | + init (often -means) | |
| Picks by | elbow | BIC / validation likelihood |
4. Practice
Init by -means, regularize (add small ) to avoid collapse on one point, restart 5-10×.
5. Exam Points
- Write mixture form + responsibility — 7 marks, very frequent.
- GMM vs -means — 3-5 marks, frequent.
- Singularity fix () — 2 marks.