# MLPR class notes

Lecture recordings and scans are on the Activities page.

Keyboard shortcut: step through the notes using the left and right arrow keys.

Please annotate the HTML versions of the notes in the forum, to keep the class's comments together. You can show/hide links to PDF versions for printing. However, the PDFs don't have the in-note questions.

Background information

• w0a – MLPR welcome and advice, pdf.
• w0b – Course administration and assessment, htmlpdf.
• w0c – Books useful for MLPR, htmlpdf.
• w0d – MLPR background self-test, htmlpdf. Answers: htmlpdf.
• w0e – Maths background for MLPR, htmlpdf.
• w0f – Programming in Python, htmlpdf.
• w0g – Expectations and sums of variables, htmlpdf.
• w0h – Notation, htmlpdf.

Week 1: Introduction to ML with Linear Regression

• w1a – Course Introduction, htmlpdf.
• w1b – Linear regression, htmlpdf.
• w1c – Plotting and understanding basis functions, htmlpdf.
• w1d – Linear regression, overfitting, and regularization, htmlpdf.

Week 2: ML fundamentals: generalization, error bars, Gaussians

• w2a – Training, Testing, and Evaluating Different Models, htmlpdf.
• w2b – Univariate Gaussians, htmlpdf.
• w2c – The Central Limit Theorem, htmlpdf.
• w2d – Error bars, htmlpdf.
• w2e – Multivariate Gaussians, htmlpdf.

Week 3: Classification and gradient-based fitting

• w3a – Classification: Regression, Gaussians, and pre-processing, htmlpdf.
• w3b – Regression and Gradients, htmlpdf.
• w3c – Logistic Regression, htmlpdf.

Week 4: Bayesian linear regression

• w4a – Bayesian regression, htmlpdf.
• w4b – Bayesian inference and prediction, htmlpdf.

Week 5: Bayesian model choice and Gaussian processes

Week 6: More detailed models: Gaussian process kernels, more non-Gaussian regression

• w6a – Gaussian Processes and Kernels, htmlpdf.
• w6b – Overview: fitting probabilistic models, htmlpdf.
• w6c – Softmax regression, htmlpdf.
• w6d – A robust logistic regression model, htmlpdf.

Week 7: Neural Networks

• w7a – Neural networks introduction, htmlpdf.
• w7b – Neural network architectures, htmlpdf.
• w7c – Fitting and initializing neural networks, htmlpdf.
• w7d – Backpropagation of Derivatives, htmlpdf.

Week 8: Autoencoders, PCA, Netflix Prize

• w8a – Autoencoders and Principal Components Analysis (PCA), htmlpdf.
• w8b – Netflix Prize, htmlpdf.

Week 9: Bayesian logistic regression, Laplace approximation

• w9a – Bayesian logistic regression, htmlpdf.
• w9b – The Laplace approximation applied to Bayesian logistic regression, htmlpdf.

Week 10: Sampling-based approximate Bayesian inference, variational inference

Status Page: Check which in-note questions you might have missed.

That’s the end of the course. Information about the exam is on the activities timeline. The course survey is open until 9 December.

A coarse overview of major topics covered is below. Some principles aren't taught alone as they're useful in multiple contexts, such as gradient-based optimization, different regularization methods, ethics, and practical choices such as feature engineering or numerical implementation.

• Linear regression and ML introduction
• Evaluating and choosing methods from the zoo of possibilities
• Multivariate Gaussians
• Classification, generative and discriminative models
• Bayesian machine learning: linear regression, Gaussian processes and kernels
• Neural Networks
• Learning low-dimensional representations
• Approximate Inference: Bayesian logistic regression, Laplace, Variational

You are encouraged to write your own outlines and summaries of the course. Aim to make connections between topics, and imagine trying to explain to someone else what the main concepts of the course are.