MLPR 2019  |  Notes  |  Lectures  |  Forum  |  Tutorials  |  Assignments  |  Feedback

# MLPR class notes

These notes were written from scratch for this class. We will respond to your comments and questions, and fix or expand parts if and when necessary. However, effort from you is also required. Please sign up to the forum, and ask questions.

You can step through the HTML version of these notes using the left and right arrow keys.

Each note links to a PDF version for better printing. However, if possible, please annotate the HTML versions of the notes in the forum, to keep the class's comments together. If the HTML notes don't render well for you, you could try in Chrome/Chromium. If you want quick access to the PDFs from this page, you can toggle the pdf links.

A rough indication of the schedule is given, although we won’t follow it exactly.

Background information

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

Week 1:

• w1a – Course Introduction, htmlpdf.
• w1b – Linear regression, htmlpdf.
• w1c – Linear regression, overfitting, and regularization, htmlpdf.

Week 2:

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

Week 3:

• w3a – Classification: Regression, Gaussians, and pre-processing, htmlpdf.
• w3b – Bayesian regression, htmlpdf.

Week 4:

Week 5:

Week 6:

• w6a – Regression and Gradients, htmlpdf.
• w6b – Logistic Regression, htmlpdf.
• w6c – Softmax and robust regressions, htmlpdf.

Week 7:

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

Week 8:

• w8a – Autoencoders and Principal Components Analysis (PCA), htmlpdf.
• w8b – Netflix Prize, htmlpdf.
• w8c – Bayesian logistic regression and Laplace approximations, htmlpdf. Answers: htmlpdf.
• w8d – Computing logistic regression predictions, htmlpdf.

Week 9:

Week 10:

Bonus material (non-examinable):

• w10b – Sparsity and L1 regularization, htmlpdf.
• w10c – More on optimization, htmlpdf.
• w10d – Ensembles and model combination, htmlpdf.

Week 11: No lectures, two Ed-Intelligence events:

• Wed 27 Nov 6–8pm, AT LT 2, Mini NeurIPS, please register.
• Fri 29 Nov 6–8pm, AT LT 5, To Err is Machine: Biases Failure and Fairness in AI, please register.

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
• Gaussian mixture models
• Time allowing: Other principles: sparsity/L1, ensembles: combination vs averaging.

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.

MLPR 2019  |  Notes  |  Lectures  |  Forum  |  Tutorials  |  Assignments  |  FAQ  |  Feedback