MTH786P - Machine Learning with Python - 2023/24
Topic | Name | Description |
---|---|---|
Lecture Notes | These are the lecture notes originally developed for this module by Dr. Benning. |
|
Tutorials recordings | Passcode: hT.&cv9x Passcode: 45Gz8@9n Tutorial 3 Unfortunately missing due to a broken microphone Passcode: eX6J$d.6 Passcode: &8Huf.d4 Tutorial 6 (mainly conducted on the whiteboard in preparation of the mid-term) Passcode: 7uF+u=q4 Passcode: @9Vs9jEE Passcode: r90p!8c5 Passcode: 6r&=1sEY Passcode: 4SgE#45f Passcode: ?N!3byA7 |
|
Week 0: Coursework 0 | Coursework 0 | |
Solutions to coursework 0 | ||
Detailed solutions corsework0 | ||
Week 1: Introduction. Mathematical preliminaries. | Week 1 slides | |
Coursework 1 | ||
Solutions coursework 1 | ||
Detailed solutions coursework 1 | ||
Week 2: Linear regression. Polynomial regression. | Lecture 2 slides | |
Coursework 2 | ||
Solutions coursework 2 | ||
Detailed solutions coursework 2 | ||
Week 3: Ill-conditioned regression problems | Lecture 3 slides | |
Coursework 3 | ||
Solutions coursework 3 | ||
Detailed solutions coursework 3 | ||
Week 4: Empirical risk minimisation & model error structure. | Lecture 4 slides | |
Coursework 4 (theory) | ||
Coursework 4 (python) | ||
Coursework 4 solutions (python) | ||
Coursework 4 solutions (theory) | ||
Week 5: The LASSO and the gradient descent. | Lecture 5 slides | |
Coursework 5 | ||
Solutions coursework 5 | ||
Week 6: Regression analysis with Neural Networks. | Lecture 6 slides | |
Coursework 6 | ||
Coursework 6 solutions | ||
Week 7: Midterm assessment. | Lecture 7 slides | |
Extra exercises | ||
Solutions extra exsercises | ||
Week 8: Classification problems. Non-parametric classification. | Lecture 8 slides | |
Coursework 8 | ||
Solutions coursework 8 | ||
Week 9: Logistic regression | Lecture 9 slides | |
Coursework 9 | ||
Solutions coursework 9 | ||
Week 10: Support Vector Machines | Lecture 10 slides | |
Coursework 10 | ||
Coursework 10 solutions | ||
Week 11: Semi-supervised binary classification with graphs | Lecture 11 slides | |
Hints and tips | Another python numpy online tutorial | Note that this online tutorial is also available as Jupyter notebook, see https://github.com/kuleshov/cs228-material/blob/master/tutorials/python/cs228-python-tutorial.ipynb. |
Anaconda Python distribution | We use the Anaconda distribution to run Python 3, as it is easy to install and comes with most packages we need. To install Anaconda, go to the linked url and get the Python installer for your OS - make sure to use the newer version 3.x, not 2.x. Follow the instructions of the installer and you're done. Warning! The installer will ask you if you want to add Anaconda to your path. Your default answer should be yes, unless you have specific reasons not to want this. |
|
Numpy Quickstart tutorial | This is a link to the Numpy Quickstart tutorial from SciPy.org. |
|
coursework | Coursework 0 | |
Coursework 0 Solutions | ||
exam papers | Collection of past exam papers | |
Week 12: Decision Trees | Lecture 12 slides | |
Final Project (Deadline: 24/01/24) | Project description | This file details the requirements of the project. Please read it with great attention |
Datasets | Five datasets to pick from. You need to pick one |
|
Mathematics for Machine Learning (freely available textbook) | Mathematics for Machine Learning (freely available textbook) | This textbook might be a good resource especially for the more theoretical aspects of the course (i.e., linear algebra, calculus, etc..) |