Required readings slides are listed below for each module. Readings from [ISLR] are always required while those from [ESL] are optional and supplemental.
All lecture slides as .qmd
files are available here.
R
code for all lectures is available here.
Handouts for some lectures (coding files, pdfs) are available here.
Instructions to create .pdf
s of the lecture slides (works in Google Chrome or Chromium).
- Open some Slides in the browser.
- Toggle into Print View by pressing the E key. (It may not appear that anything has happened)
- Open the Print dialog: CTRL / CMD + P.
- Change the Destination setting to Save as PDF.
- Change the Layout to Landscape.
- Change the Margins to None.
- Enable the Background graphics option.
- Click Save ๐
0 Introduction and Review
Required reading below is meant to reengage brain cells which have no doubt forgotten all the material that was covered in STAT 306 or CPSC 340. We donโt presume that you remember all these details, but that, upon rereading, they at least sound familiar. If this all strikes you as completely foreign, this class may not be for you.
- Required reading
-
[ISLR] 2.1, 2.2, and Chapter 3 (this material is review)
- Optional reading
-
[ESL] 2.4 and 2.6
- Handouts
-
Programming in
R
.Rmd
, .pdf
-
Using in RMarkdown
.Rmd
, .pdf
1 Model Accuracy
- Topics
-
Model selection; cross validation; information criteria; stepwise regression
- Required reading
-
[ISLR] Ch 2.2 (not 2.2.3), 5.1 (not 5.1.5), 6.1, 6.4
- Optional reading
-
[ESL] 7.1-7.5, 7.10
2 Regularization, smoothing, and trees
- Topics
-
Ridge regression, lasso, and related; linear smoothers (splines, kernels); kNN
- Required reading
-
[ISLR] Ch 6.2, 7.1-7.7.1, 8.1, 8.1.1, 8.1.3, 8.1.4
- Optional reading
-
[ESL] 3.4, 3.8, 5.4, 6.3
3 Classification
- Topics
-
logistic regression; LDA/QDA; naive bayes; trees
- Required reading
-
[ISLR] Ch 2.2.3, 5.1.5, 4-4.5, 8.1.2
- Optional reading
-
[ESL] 4-4.4, 9.2, 13.3
4 Modern techniques
- Topics
-
bagging; boosting; random forests; neural networks
- Required reading
-
[ISLR] 5.2, 8.2, 10.1, 10.2, 10.6, 10.7
- Optional reading
-
[ESL] 10.1-10.10 (skip 10.7), 11.1, 11.3, 11.4, 11.7
5 Unsupervised learning
- Topics
-
dimension reduction and clustering
- Required reading
-
[ISLR] 12
- Optional reading
-
[ESL] 8.5, 13.2, 14.3, 14.5.1, 14.8, 14.9
F Final exam
Do not make any plans to leave Vancouver before the final exam date is announced.
- In person attendance is required (per Faculty of Science guidelines)
- You must bring your computer as the exam will be given through Canvas
- Please arrange to borrow one from the library if you do not have your own. Let me know ASAP if this may pose a problem.
- You may bring 2 sheets of front/back 8.5x11 paper with handwritten notes you want to use. No other materials will be allowed.
- There will be no required coding, but I may show code or output and ask questions about it.
- It will be entirely multiple choice / True-False / matching, etc. Delivered on Canvas.