Learning path
Designing Machine Learning Systems learning path: everything to study, topic by topic
End-to-end ML systems design based on Chip Huyen's book: ML use-case framing, data engineering, training data, feature engineering, model development and offline evaluation, deployment, distribution shifts and monitoring, continual learning, feature stores, ML platforms, and responsible AI.
Short answer
To learn Designing Machine Learning Systems, work through 6 modules and 24 topics in the order they build on each other. It starts with ML Systems Foundations, then moves on to Training Data and Feature Engineering. Use the map as a checklist, or measure your level and study only what is missing.
What you will study
Topics are grouped by module. Open one to see its objectives and key concepts.
1 · ML Systems Foundations4 topics
Deciding When to Use ML
Evaluating whether a problem is a good fit for ML: the need for patterns, data availability, scale, repetition, and tolerance for being wrong.
Objectives
- Judge whether a problem warrants an ML solution
- Identify cases where a heuristic beats ML
Key concepts
- patterns to learn
- data availability
- scale and repetition
- cost of wrong predictions
- ML vs simple heuristics
Framing ML Problems
Translating business objectives into ML objectives: choosing classification vs regression, decoupling multiple objectives, and defining the right metrics.
Objectives
- Map a business goal to a concrete ML task
- Decouple competing objectives into separate models
Key concepts
- business vs ML objectives
- classification vs regression
- objective decoupling
- framing choices
- metric selection
Data Engineering Fundamentals
Data sources, formats (row vs column, text vs binary), data models, OLTP vs OLAP, and the ETL/ELT processes that feed ML systems.
Objectives
- Choose appropriate data formats and storage for a workload
- Distinguish transactional from analytical data systems
Key concepts
- data sources
- row vs columnar formats
- OLTP vs OLAP
- ETL vs ELT
- structured vs unstructured data
Training Data Fundamentals
Why training data quality dominates model quality, data-centric thinking, and common pitfalls in assembling a first dataset.
Objectives
- Explain why data quality drives model performance
- Spot basic dataset quality problems
Key concepts
- data-centric approach
- garbage in garbage out
- representativeness
- data quality dimensions
- label correctness
2 · Training Data4 topics
Sampling
Nonprobability vs random sampling, stratified, weighted, reservoir, and importance sampling, and the sampling biases each introduces.
Objectives
- Select a sampling strategy that fits the data and constraints
- Identify biases introduced by a sampling method
Key concepts
- nonprobability sampling
- stratified sampling
- weighted sampling
- reservoir sampling
- sampling bias
Labeling
Hand labels, natural labels, label multiplicity, feedback loop length, and dealing with the lack of and disagreement among labels.
Objectives
- Distinguish natural labels from hand labels
- Reason about feedback loop length for natural labels
Key concepts
- hand vs natural labels
- label multiplicity
- feedback loop length
- annotator disagreement
- labeling cost
Weak & Semi-Supervision
Programmatic labeling with labeling functions, semi-supervised, transfer, and active learning as alternatives to expensive hand labels.
Objectives
- Apply labeling functions to bootstrap labels at scale
- Choose between weak, semi, transfer, and active learning
Key concepts
- labeling functions
- weak supervision
- semi-supervised learning
- transfer learning
- active learning
Handling Class Imbalance
Resampling, two-phase learning, dynamic sampling, cost-sensitive learning, and choosing metrics that survive heavy class imbalance.
Objectives
- Select techniques to address class imbalance
- Pick metrics robust to imbalanced data
Key concepts
- class imbalance
- resampling (SMOTE)
- cost-sensitive learning
- two-phase learning
- F1/PR-AUC over accuracy
3 · Feature Engineering2 topics
Feature Engineering Operations
Common operations: handling missing values, scaling, discretization, encoding categorical features (including the hashing trick), and feature crossing.
Objectives
- Apply standard feature transformations correctly
- Encode categorical and crossed features
Key concepts
- missing value imputation
- scaling and normalization
- discretization
- categorical encoding / hashing trick
- feature crossing
Data Leakage
Common causes of leakage: scaling before split, filling with statistics from the test set, group leakage, and leakage from data generation, plus detection methods.
Objectives
- Identify common sources of data leakage
- Design pipelines that prevent leakage
Key concepts
- train/test contamination
- scaling before split
- group leakage
- time-based leakage
- leakage detection
4 · Model Development & Evaluation4 topics
Model Selection & Development
Choosing among ML algorithms by tradeoffs, avoiding state-of-the-art bias, and balancing model complexity against data and latency budgets.
Objectives
- Select a model family given constraints
- Avoid common model-selection traps
Key concepts
- model selection tradeoffs
- six tips for model selection
- complexity vs data
- non-functional requirements
- avoiding SOTA bias
Baselines & Ensembles
Establishing meaningful baselines (random, simple heuristic, human, existing solution) and ensembling via bagging, boosting, and stacking.
Objectives
- Define the right baselines for a problem
- Choose an ensembling strategy and its costs
Key concepts
- baseline types
- bagging
- boosting
- stacking
- ensemble tradeoffs
Offline Evaluation Methods
Evaluating models before deployment with perturbation tests, invariance tests, directional expectation tests, and model calibration against a baseline.
Objectives
- Design offline evaluation beyond aggregate metrics
- Test model robustness before deployment
Key concepts
- evaluation baselines
- perturbation tests
- invariance tests
- directional expectation tests
- robustness checks
Calibration & Slice-Based Evaluation
Model calibration for trustworthy probabilities and slice-based evaluation to catch hidden underperformance on critical subgroups (Simpson's paradox).
Objectives
- Calibrate model probabilities
- Use slice-based evaluation to find weak segments
Key concepts
- model calibration
- slice-based evaluation
- critical subgroups
- Simpson's paradox
- hidden underperformance
5 · Model Deployment3 topics
Batch vs Online Prediction
Batch (asynchronous) vs online (synchronous) prediction, the role of streaming features, and unifying batch and stream pipelines.
Objectives
- Choose batch vs online prediction for a use case
- Reason about streaming features and latency
Key concepts
- batch prediction
- online prediction
- batch vs streaming features
- request-driven vs streaming
- pipeline unification
Edge vs Cloud Deployment
Tradeoffs between deploying on the cloud and on the edge: latency, connectivity, cost, privacy, and the hardware needed to run models on devices.
Objectives
- Decide between edge and cloud deployment
- Weigh latency, cost, and privacy tradeoffs
Key concepts
- cloud vs edge
- latency and connectivity
- cost and privacy tradeoffs
- on-device inference
- hardware constraints
Model Compression & Optimization
Reducing model size and latency through low-rank factorization, knowledge distillation, pruning, and quantization for resource-constrained inference.
Objectives
- Apply compression techniques to shrink a model
- Trade accuracy against latency and size
Key concepts
- low-rank factorization
- knowledge distillation
- pruning
- quantization
- inference latency
6 · ML in Production7 topics
Distribution Shifts
Covariate, label, and concept drift, why models degrade in production, and how to detect and address each kind of shift.
Objectives
- Distinguish covariate, label, and concept drift
- Detect and respond to distribution shifts
Key concepts
- covariate shift
- label shift
- concept drift
- edge cases vs outliers
- drift detection
Monitoring & Observability
Monitoring operational metrics, ML-specific metrics (accuracy, predictions, features, raw inputs), and building observability for ML systems in production.
Objectives
- Choose what to monitor for an ML system
- Design observability that surfaces degradation
Key concepts
- operational vs ML metrics
- prediction monitoring
- feature monitoring
- raw input monitoring
- observability
Continual Learning
Stateless vs stateful (incremental) retraining, retraining frequency, the four stages toward continual learning, and the challenges of keeping models fresh.
Objectives
- Design a continual learning strategy
- Decide retraining cadence from freshness value
Key concepts
- stateless vs stateful training
- retraining frequency
- value of data freshness
- four stages of continual learning
- model iteration vs data iteration
Test in Production
Safely evaluating models on live traffic with shadow deployment, A/B testing, canary release, interleaving experiments, and bandit-based selection.
Objectives
- Select a test-in-production strategy and its risks
- Use bandits to balance exploration and exploitation
Key concepts
- shadow deployment
- A/B testing
- canary release
- interleaving experiments
- contextual bandits
Feature Stores
Feature management, reuse, and consistency between training and serving, and how feature stores reduce train-serve skew across teams.
Objectives
- Explain the role of a feature store
- Prevent train-serve skew with consistent features
Key concepts
- feature management
- feature reuse
- train-serve consistency
- online vs offline store
- point-in-time correctness
ML Platform & Infrastructure
Components of an ML platform: model store and deployment, model serving, ML metadata, and the build-vs-buy decisions for infrastructure.
Objectives
- Describe the components of an ML platform
- Make build-vs-buy infrastructure decisions
Key concepts
- model deployment service
- model store
- ML metadata management
- dev environment
- build vs buy
Responsible AI
Sources of harm such as biased data and design, the framework for responsible AI, model transparency, and tradeoffs like privacy vs accuracy.
Objectives
- Identify sources of harm in an ML system
- Apply a responsible AI framework to design choices
Key concepts
- sources of ML bias
- fairness
- model transparency
- privacy vs accuracy tradeoffs
- responsible AI framework
Levels: Junior, Mid, Senior, and Expert
Explain it in your own words
Graded by AI · no account · 1 questionNo options to guess from: you write, the AI grades against the topic's rubric and tells you what level your answer reads at.
Already studying Designing Machine Learning Systems?
The assessment measures topic by topic, and your plan skips what you already know.
Open to read. An account is only needed to be measured.
Frequently asked questions
Where should I start studying Designing Machine Learning Systems?
Start with ML Systems Foundations: Deciding When to Use ML, Framing ML Problems, and Data Engineering Fundamentals. The map orders topics by what they depend on, so each one prepares the next.
How long does a full Designing Machine Learning Systems assessment take?
A full assessment of this path takes about 55 minutes. Study time depends on where you start; a diagnostic shows which topics you can skip.
Do I need an account to use this page?
No. The map, objectives and key concepts are open. You only need an account to be measured, get your gap by topic and receive a plan.