Clustering II

Gaussian mixture models

Published

October 23, 2026

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

🧪 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.