Course materials
Course materials: slides, code and practicals
Deep learning slides, practicals and code are linked below, followed by the reinforcement learning and cyber security lecture materials.
Deep Learning
Practicals and data · Python starter code
- Lecture 1: Introduction (slides)
- Lecture 2: PyTorch programming (slides, materials, code)
- Lecture 3: Designing architectures (slides, encoder, conv-ae, unet)
- Lecture 4: Generative adversarial models (slides, colab1, colab2, colab3)
- Lecture 5: Energy-based models (slides, rbm-colab, cond-ddpm, flow-matching)
- Lecture 6: Flow models (slides, blog)
- Lecture 7: Sequential models and Transformers (slides)
- Lecture 8: Variational and implicit models (slides, desmos)
- Lecture 9: Practical challenges (slides)
- Lecture 10: Generalisation theory (slides, K(x), proof)
Practicals 5–9
- Practical 5: Image generation with GANs (sheet, code)
- Practical 6: Image diffusion and flow matching (sheet, code)
- Practical 7: Audio flow matching (sheet, code)
- Practical 8: GPT from scratch (sheet, code)
- Practical 9: Implicit images, audio and video (sheet, code)
Reinforcement Learning
This material is now outdated. Check the materials repository for the latest course content.
- Lecture 1: Foundations. (slides, video)
- Lecture 2: Markov decision processes. (slides, video)
- Lecture 3: OpenAI gym: by Adam Leach. (video)
- Lecture 4: Dynamic programming. (slides, video)
- Lecture 5: Monte Carlo methods. (slides, video)
- Lecture 6: Temporal-difference methods. (slides, video)
- Lecture 7: Function approximation. (slides, video)
- Lecture 8: Policy gradient methods. (slides, video)
- Lecture 9: Model-based methods. (slides, video)
- Lecture 10: Extended methods. (slides, video)
Cyber Security
This material is now outdated. Check the materials repository for the latest course content.
- Lecture 1: Introduction. (slides)
- Lecture 2: Applied cryptography. (slides)
- Lecture 3: OS security and access control. (slides)
- Lecture 4: Network and web security. (slides)
- Lecture 5: Database security. (slides)
- Lecture 6: The threat landscape. (slides)
- Lecture 7: Understanding the platform. (slides)
- Lecture 8: Software security. (slides)
- Lecture 9: Security in industry: by Jonathan Frawley (slides)
- Lecture 10: Risk and ML applications. (slides)
Lab content:
- Practical 1: Hacking and securing a simple web server. (pdf, materials)
- Practical 2: Traversal and XSS attacks on a web server. (pdf, materials)
- Practical 3: Database security. (pdf, materials)
- Practical 4: Software security. (pdf)
- Answers 1: Sample answers for some of the tasks in practical 1. (pdf)
- Answers 1: Sample answers for some of the tasks in practical 2. (pdf)
- Answers 3: Sample answers for some of the tasks in practical 3. (pdf)
All the above lecture material is made available under the CC-BY-NC-4.0. Some content within the lectures is from third parties and not covered by the license. Reference as follows, e.g. for DL and RL:
@misc{willcocks2021lectures,
author = {Chris G. Willcocks},
title = {Lectures on Deep Learning and Reinforcement Learning},
year = {2021},
howpublished = {\textsc{url:}~\url{https://cwkx.com/blog.html#course-materials}}
}