Clustering II
Gaussian mixture models
Gaussian mixture models as soft clustering; the EM algorithm; model selection via BIC; comparing GMMs to k-means.
📖 Assigned reading: PRML §9.1–9.2
📊 Slides
- 🖥️ Clean slides
- ✏️ Annotated slides (in-class version)
🧪 Lab
Live, in-browser R lab — runs entirely in your browser via webR, no local R install needed.
- 🧪 Lab: Diabetes patients (live R) — edit and re-run any code cell: EM written by hand, soft assignment, and choosing K and the covariance shape with BIC, on glucose and insulin tests from 145 adults. A “Download my code” button captures whatever you’ve written before you leave.