Classification I

Logistic regression and generative models

Published

September 25, 2026

Logistic regression as a discriminative classifier; LDA, QDA, and naive Bayes as generative classifiers. Decision boundaries and what each approach assumes about the data.

📖 Assigned reading: ISLR ch. 4


📊 Slides

🧪 Lab

Live, in-browser R lab — runs entirely in your browser via webR, no local R install needed. Edit any code cell and re-run it; a “Download my code” button captures whatever you’ve written before you leave.

⭐ Extras

Optional supplementary material: