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.
- Week 1 — Your engineering workbench
- Week 2 — SQL from zero
- Week 3 — Advanced SQL and pandas
- Week 4 — From data to features
- Week 5 — From theory to practice: framing, baselines, metrics
- Week 6 — Validation and leakage
- Week 7 — Models, uncertainty and error analysis
- Week 8 — Code you can trust
- Week 9 — Serving models
- Week 10 — Containers and CI
- Week 11 — Deploy and operate
- Week 12 — Capstone and career
Week 1 — Your engineering workbench
| # | Notebook | Read | Run |
|---|---|---|---|
| 01 | Welcome, Colab, and how this course works | read | |
| 02 | Python for engineers: functions, errors, files | read | |
| 03 | The terminal and Git | read | |
| 04 | Lab: a small, tested data utility | read |
Week 2 — SQL from zero
| # | Notebook | Read | Run |
|---|---|---|---|
| 05 | Databases and SELECT | read | |
| 06 | Aggregation: GROUP BY, HAVING, CASE | read | |
| 07 | JOINs and the grain of a table | read | |
| 08 | Lab: business questions in SQL | read |
Week 3 — Advanced SQL and pandas
| # | Notebook | Read | Run |
|---|---|---|---|
| 09 | Subqueries, CTEs and window functions | read | |
| 10 | pandas essentials, side by side with SQL | read | |
| 11 | Data cleaning and quality checks | read | |
| 12 | Lab: clean a messy export and report its quality | read |
Week 4 — From data to features
| # | Notebook | Read | Run |
|---|---|---|---|
| 13 | Exploratory analysis with a purpose | read | |
| 14 | Feature engineering, including time windows | read | |
| 15 | scikit-learn pipelines | read | |
| 16 | Lab: a feature pipeline for churn | read |
Week 5 — From theory to practice: framing, baselines, metrics
| # | Notebook | Read | Run |
|---|---|---|---|
| 17 | From Learning from Data to real problems: framing | read | |
| 18 | Baselines and first models | read | |
| 19 | Metrics and thresholds that match decisions | read | |
| 20 | Lab: a churn model you can defend | read |
Week 6 — Validation and leakage
| # | Notebook | Read | Run |
|---|---|---|---|
| 21 | Validation done right: grouped and time-based splits | read | |
| 22 | Leakage: how good models lie | read | |
| 23 | Hyperparameter search without fooling yourself | read | |
| 24 | Lab: find and fix the leaks | read |
Week 7 — Models, uncertainty and error analysis
| # | Notebook | Read | Run |
|---|---|---|---|
| 25 | Trees and ensembles in practice | read | |
| 26 | Uncertainty and fair model comparisons | read | |
| 27 | Error analysis and choosing a model | read | |
| 28 | Project milestone 1: fault detection on sensor data | read |
Week 8 — Code you can trust
| # | Notebook | Read | Run |
|---|---|---|---|
| 29 | From notebook to Python package | read | |
| 30 | Testing with pytest | read | |
| 31 | Configuration, logging and reproducibility | read | |
| 32 | Lab: package and test the churn pipeline | read |
Week 9 — Serving models
| # | Notebook | Read | Run |
|---|---|---|---|
| 33 | Saving models and batch prediction | read | |
| 34 | APIs and FastAPI | read | |
| 35 | Testing APIs and handling bad input | read | |
| 36 | Project milestone 2: a prediction API | read |
Week 10 — Containers and CI
| # | Notebook | Read | Run |
|---|---|---|---|
| 37 | VS Code and a local setup | read | |
| 38 | Docker from zero | read | |
| 39 | Continuous integration with GitHub Actions | read | |
| 40 | Lab: containerise the API and add CI | read |
Week 11 — Deploy and operate
| # | Notebook | Read | Run |
|---|---|---|---|
| 41 | Deploying to the cloud safely | read | |
| 42 | Logging and monitoring a model service | read | |
| 43 | Drift, degradation and model updates | read | |
| 44 | Project milestone 3: monitoring demo | read |
Week 12 — Capstone and career
| # | Notebook | Read | Run |
|---|---|---|---|
| 45 | Capstone: finish the project end to end | read | |
| 46 | Communicating results: README, report, model card | read | |
| 47 | Interview preparation: SQL, Python, ML, system design | read | |
| 48 | Final assessment | read |
New here? Read Before you start, then Week 1.
Table of contents
- 01 · Welcome, Colab, and how this course works
- 02 · Python for engineers: functions, errors, files
- 03 · The terminal and Git
- 04 · Lab: a small, tested data utility
- 05 · Databases and SELECT
- 06 · Aggregation: GROUP BY, HAVING, CASE
- 07 · JOINs and the grain of a table
- 08 · Lab: business questions in SQL
- 09 · Subqueries, CTEs and window functions
- 10 · pandas essentials, side by side with SQL
- 11 · Data cleaning and quality checks
- 12 · Lab: clean a messy export and report its quality
- 13 · Exploratory analysis with a purpose
- 14 · Feature engineering, including time windows
- 15 · scikit-learn pipelines
- 16 · Lab: a feature pipeline for churn
- 17 · From Learning from Data to real problems: framing
- 18 · Baselines and first models
- 19 · Metrics and thresholds that match decisions
- 20 · Lab: a churn model you can defend
- 21 · Validation done right: grouped and time-based splits
- 22 · Leakage: how good models lie
- 23 · Hyperparameter search without fooling yourself
- 24 · Lab: find and fix the leaks
- 25 · Trees and ensembles in practice
- 26 · Uncertainty and fair model comparisons
- 27 · Error analysis and choosing a model
- 28 · Project milestone 1: fault detection on sensor data
- 29 · From notebook to Python package
- 30 · Testing with pytest
- 31 · Configuration, logging and reproducibility
- 32 · Lab: package and test the churn pipeline
- 33 · Saving models and batch prediction
- 34 · APIs and FastAPI
- 35 · Testing APIs and handling bad input
- 36 · Project milestone 2: a prediction API
- 37 · VS Code and a local setup
- 38 · Docker from zero
- 39 · Continuous integration with GitHub Actions
- 40 · Lab: containerise the API and add CI
- 41 · Deploying to the cloud safely
- 42 · Logging and monitoring a model service
- 43 · Drift, degradation and model updates
- 44 · Project milestone 3: monitoring demo
- 45 · Capstone: finish the project end to end
- 46 · Communicating results: README, report, model card
- 47 · Interview preparation: SQL, Python, ML, system design
- 48 · Final assessment