Review, 2nd half of course

web.stanford.edu/class/stats202

Sergio Bacallado, Jonathan Taylor

Autumn 2022

Ch. 5: Resampling methods

Estimation of prediction error

Estimation of standard error

Validation set

Schematic of validation set approach.

LOOCV

Schematic of leave-one-out cross-validation (LOOCV) set approach.

K-fold CV

Schematic of \(K\)-fold CV fold approach.

Ch. 6 Model selection and regularization

Selection

Shrinkage

Visualizing Ridge and the LASSO with 2 predictors

Ridge regression of balance in the Credit dataset

A lot of pesky small coefficients throughout the regularization path

Lasso regression of balance in the Credit dataset

Ch. 7: Moving Beyond Linearity

Piecewise polynomial functions

Local linear regression

Example: Regression for Wage

Ch. 8: Tree-based methods

Trees and partitions

Fitted tree

Bagging

Ch. 12: Unsupervised methods

PCA (Principal Components Analysis)

Clustering

Fig 10.2a Fig 10.2b

Biplot

Screeplot

K-means

K-means algorithm

Hierarchical clustering

Dendrograms

Complete linkage

Single linkage

Average linkage

Ch. 10: Deep learning

Multi-layer network

Typical activation functions

Convolution neural networks

Convolution neural networks

Gradient descent