The notebooks

Every notebook of the 12-week course, readable here and runnable in Colab with one click. Each week has three lessons and one graded lab. Exercises are graded inside the notebook: run the cell under your answer and it tells you immediately whether it passes.

  1. Week 1 — Your engineering workbench
  2. Week 2 — SQL from zero
  3. Week 3 — Advanced SQL and pandas
  4. Week 4 — From data to features
  5. Week 5 — From theory to practice: framing, baselines, metrics
  6. Week 6 — Validation and leakage
  7. Week 7 — Models, uncertainty and error analysis
  8. Week 8 — Code you can trust
  9. Week 9 — Serving models
  10. Week 10 — Containers and CI
  11. Week 11 — Deploy and operate
  12. Week 12 — Capstone and career

Week 1 — Your engineering workbench

# Notebook Read Run
01 Welcome, Colab, and how this course works read Colab
02 Python for engineers: functions, errors, files read Colab
03 The terminal and Git read Colab
04 Lab: a small, tested data utility read Colab

Week 2 — SQL from zero

# Notebook Read Run
05 Databases and SELECT read Colab
06 Aggregation: GROUP BY, HAVING, CASE read Colab
07 JOINs and the grain of a table read Colab
08 Lab: business questions in SQL read Colab

Week 3 — Advanced SQL and pandas

# Notebook Read Run
09 Subqueries, CTEs and window functions read Colab
10 pandas essentials, side by side with SQL read Colab
11 Data cleaning and quality checks read Colab
12 Lab: clean a messy export and report its quality read Colab

Week 4 — From data to features

# Notebook Read Run
13 Exploratory analysis with a purpose read Colab
14 Feature engineering, including time windows read Colab
15 scikit-learn pipelines read Colab
16 Lab: a feature pipeline for churn read Colab

Week 5 — From theory to practice: framing, baselines, metrics

# Notebook Read Run
17 From Learning from Data to real problems: framing read Colab
18 Baselines and first models read Colab
19 Metrics and thresholds that match decisions read Colab
20 Lab: a churn model you can defend read Colab

Week 6 — Validation and leakage

# Notebook Read Run
21 Validation done right: grouped and time-based splits read Colab
22 Leakage: how good models lie read Colab
23 Hyperparameter search without fooling yourself read Colab
24 Lab: find and fix the leaks read Colab

Week 7 — Models, uncertainty and error analysis

# Notebook Read Run
25 Trees and ensembles in practice read Colab
26 Uncertainty and fair model comparisons read Colab
27 Error analysis and choosing a model read Colab
28 Project milestone 1: fault detection on sensor data read Colab

Week 8 — Code you can trust

# Notebook Read Run
29 From notebook to Python package read Colab
30 Testing with pytest read Colab
31 Configuration, logging and reproducibility read Colab
32 Lab: package and test the churn pipeline read Colab

Week 9 — Serving models

# Notebook Read Run
33 Saving models and batch prediction read Colab
34 APIs and FastAPI read Colab
35 Testing APIs and handling bad input read Colab
36 Project milestone 2: a prediction API read Colab

Week 10 — Containers and CI

# Notebook Read Run
37 VS Code and a local setup read Colab
38 Docker from zero read Colab
39 Continuous integration with GitHub Actions read Colab
40 Lab: containerise the API and add CI read Colab

Week 11 — Deploy and operate

# Notebook Read Run
41 Deploying to the cloud safely read Colab
42 Logging and monitoring a model service read Colab
43 Drift, degradation and model updates read Colab
44 Project milestone 3: monitoring demo read Colab

Week 12 — Capstone and career

# Notebook Read Run
45 Capstone: finish the project end to end read Colab
46 Communicating results: README, report, model card read Colab
47 Interview preparation: SQL, Python, ML, system design read Colab
48 Final assessment read Colab

New here? Read Before you start, then Week 1.


Table of contents


Back to top

Applied ML Engineering course materials. Code is MIT licensed; prose is CC BY 4.0. The SKAB dataset is GPL-3.0 and is downloaded from its source, not redistributed here.