Skip to main content
Link
Menu
Expand
(external link)
Document
Search
Copy
Copied
Applied ML Engineering
Home
Weekly plan
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
Notebooks
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
Tool guides
Google Colab
Python for engineers
The terminal (bash)
Git and GitHub
SQL (SQLite)
pandas
Plotting with matplotlib
scikit-learn
Python packaging and environments
pytest
FastAPI and pydantic
VS Code
Docker
GitHub Actions
Cloud basics (AWS)
Logging and monitoring
Handbook
1. Practical ML problem formulation
H1.1 From stakeholder need to prediction target
H1.2 Units, labels, costs and constraints
2. Maintainable Python for ML
H2.1 Project structure and environments
H2.2 Configuration, logging and reproducible runs
H2.3 Git workflow, linting and refactoring discipline
3. SQL and data pipelines
H3.1 Grain, joins, aggregation and NULLs
H3.2 Window functions and time-series SQL
H3.3 Ingestion and schemas
H3.4 Deterministic feature pipelines
4. Data quality and exploratory analysis
H4.1 Quality checks as code; exploratory analysis that changes decisions
5. Classical ML and strong baselines
H5.1 Trivial and linear baselines
H5.2 Metrics from decisions
H5.3 Trees, ensembles and isolation forests
H5.4 Complexity versus evidence
6. Evaluation, leakage and uncertainty
H6.1 Leakage: a taxonomy, detection probes and prevention by construction
H6.2 Thresholds, imbalance and calibration
H6.3 Group-aware and temporal validation
H6.4 Selection and nested validation
H6.5 Point-level versus event-level evaluation
H6.6 Bootstrap and paired comparisons
H6.7 Error analysis
7. Time-series and grouped-data modelling
H7.1 Windowing and causality
H7.2 Purging and embargo: buffers for windowed data
H7.3 Event matching
H7.4 Forecast-residual detection
H7.5 Multivariate detectors: PCA, Hotelling's T² and Q
H7.6 Neural sequence models, fairly compared
8. Reproducible experiments
H8.1 Run registries and sweeps
H8.2 Seeds and variance
H8.3 Clean-clone reproduction
9. Testing ML systems
H9.1 Unit testing ML code
H9.2 API, integration and contract tests
10. Batch and online inference
H10.1 One pipeline for training and serving
H10.2 Model artifacts and versioning
H10.3 Stateful online inference
H10.4 Latency and throughput
11. FastAPI and input validation
H11.1 HTTP for ML engineers
H11.2 Schemas and validation
H11.3 Lifecycle and concurrency in a prediction service
12. Docker and reproducible environments
H12.1 Images, layers and Dockerfiles
H12.2 Pinning, multi-stage builds and smoke tests
13. One cloud deployment path
H13.1 Identity, credentials and cost
H13.2 Registry and a container service on AWS
14. CI/CD fundamentals
H14.1 Continuous integration
H14.2 Delivery, promotion and rollback
15. Logging, monitoring and model updates
H15.1 Service logs and metrics
H15.2 Operational debugging
H15.3 Input monitoring and drift statistics
H15.4 Drift versus degradation, delayed labels
H15.5 Updates and rollback
H15.6 Reliability patterns for ML services
16. ML system design and technical communication
H16.1 Decision memos
H16.2 Reports and limitations
H16.3 System design structure
H16.4 Interview problem patterns
Guides
Before you start
Setup
Running in Colab
Cheat sheet
Troubleshooting
Glossary
The project
Interview practice
How the course is designed
Status and verification
Where next
Advanced track
Advanced weekly plan
Week 1 · From research code to software
Week 2 · Data: SQL, pandas, quality, features, baselines
Week 3 · Evaluation you can defend
Week 4 · Time-series models and choosing on evidence
Week 5 · Inference, artifacts and a prediction API
Week 6 · Containers, CI/CD and one cloud deployment
Week 7 · Operating a model
Week 8 · Finish, document, explain
Advanced schedule
Advanced notebooks
01 · Diagnostic A: Python, SQL, data cleaning
02 · Diagnostic B: baselines, leakage, testing/API, explaining a decision
03 · From script to installable package: project structure and environments
04 · Configuration, logging and reproducible runs
05 · Testing ML code with pytest: what a unit test can and cannot tell you
06 · Independent refactor: a real exploratory notebook becomes the project skeleton
07 · SQL I: grain, joins, aggregation and NULL semantics
08 · SQL II: CTEs, window functions and time-series queries
09 · pandas ingestion, schemas and data-quality checks (project data arrives)
10 · Problem framing and versioned split definitions
11 · Reproducible feature generation without look-ahead
12 · Strong simple baselines and metrics that match the decision
13 · Leakage: a taxonomy and prevention by construction
14 · Group-aware and temporal validation
15 · Hyperparameter and threshold selection without fooling yourself
16 · Point-level versus event-level evaluation for detection
17 · Uncertainty: cluster bootstrap, paired comparisons, small-n honesty
18 · Error analysis and timed transfer exercise
19 · Time-series fundamentals and forecast-residual detectors
20 · Classical detectors: PCA/T2-Q, isolation forest, boosted trees on window features
21 · A neural comparison, where it is justified
22 · Experiment tracking and reproducibility at the experiment level
23 · Choosing complexity on evidence
24 · Project milestone 1: evaluation report
25 · Research experimentation versus production inference
26 · Model artifacts, metadata and versioning
27 · Online inference on streams: state, warm-up and parity
28 · FastAPI I: endpoints, schemas and input validation
29 · FastAPI II: API tests, integration tests and model lifecycle
30 · Project milestone 2: packaged inference + API
31 · Docker I: images, layers and a correct Dockerfile
32 · Docker II: pinned dependencies, multi-stage builds, smoke tests
33 · Continuous integration with GitHub Actions
34 · Latency, throughput and resource use
35 · One small cloud deployment on AWS (authorisation-gated)
36 · Delivery and operational debugging; project milestone 3
37 · Structured logging and service metrics
38 · Input monitoring and drift statistics
39 · Drift is not degradation: delayed labels and measured performance
40 · Model updates: retraining triggers, shadow and canary, rollback
41 · Reliability and failure handling
42 · Project milestone 4: monitoring demonstration and runbook
43 · Project completion audit: reproduce from a clean clone
44 · Technical report and model limitations
45 · ML system design
46 · Coding and SQL interviews, timed
47 · Explaining the project and defending tradeoffs
48 · Final independent assessment
How the advanced track is designed
Maintainers
Course specification (12-week course)
Authoring conventions
Unit authoring brief
flowguard interface spec
Tested versions
Open in Colab
Start in Colab
Repository
Handbook
11. FastAPI and input validation
11. FastAPI and input validation
Sections:
H11.1 HTTP for ML engineers
H11.2 Schemas and validation
H11.3 Lifecycle and concurrency in a prediction service
Table of contents
H11.1 HTTP for ML engineers
H11.2 Schemas and validation
H11.3 Lifecycle and concurrency in a prediction service