18 stations on 3 ladders, in order — each rung is written assuming the one above it. Mark them off as you go; your progress is saved in this browser.
0 / 18
Pick up at
Track 1 of 3
FoundationsStart here
6 rungs · ~5h · ends at Model Evaluation.
0/6 done
1
Math for ML
Start here
F1 · Beginner · 75 min
Machine learning is applied math. You do not need a PhD, but you do need the core: linear algebra (vectors, matrices), calculus (gradients — how models learn), and probability (uncertainty and likelihood). These three show up in every model you will ever train.
Vectors & matrices
Gradients & derivatives
Probability & distributions
Dot products & norms
Build itCompute a gradient by hand for a tiny function, then explain what "descending the gradient" means for a model chasing lower loss.
✓ CheckpointExplain what a gradient tells you geometrically, and why that is enough to train anything at all.
Python is the language of ML, and NumPy/pandas are its workhorses. Learn vectorized array math (loops are the enemy of speed), dataframes for tabular data, and the scikit-learn API shape. Fluency here is what lets you go from idea to experiment in minutes.
NumPy arrays & vectorization
pandas dataframes
scikit-learn API
Plotting & EDA
Build itVectorize a slow Python loop with NumPy and measure the speedup. Why is the array version often 100x faster?
✓ CheckpointExplain why vectorised NumPy beats a Python loop by so much that the difference changes what is feasible.
Models are only as good as their features. Learn cleaning, handling missing values, encoding categoricals, scaling, and crafting features that expose signal. In classical ML, thoughtful feature engineering beats a fancier model more often than not.
Cleaning & missing values
Encoding categoricals
Scaling & normalization
Feature creation & selection
Build itTurn a raw table with dates, categories, and nulls into model-ready features. Which engineered feature would most help a churn model?
✓ CheckpointExplain why fitting your scaler on the full dataset before splitting leaks the test set — and how the leak shows up as an optimistic score.
The dominant paradigm: learn a mapping from inputs to labeled outputs. Learn the split between classification and regression, training vs test data, the bias-variance tradeoff, and overfitting. This mental model underpins nearly everything else in the roadmap.
When there are no labels, structure must be found in the data itself. Learn clustering (k-means), dimensionality reduction (PCA), and embeddings — the tools for exploration, compression, and finding hidden groups. This is also where representation learning begins.
A single accuracy number lies. Learn the metrics that matter — precision, recall, F1, ROC-AUC for classification; MAE/RMSE for regression — cross-validation, and why the right metric depends on the cost of each kind of error. Evaluation is where honesty lives.
Start where ML started. Linear regression fits a line; logistic regression bends it into a probability for classification. Learn the loss functions, gradient descent, and regularization. These simple, interpretable models are still the right first answer to a huge share of problems.
Linear regression
Logistic regression
Loss & gradient descent
L1 / L2 regularization
Build itFit logistic regression to a binary problem, then read the coefficients. What does a large positive weight tell you about a feature?
✓ CheckpointExplain what logistic regression actually outputs, and why calling it a probability requires calibration.
Decision trees split data into rules; ensembles combine many weak trees into a strong model. Learn random forests (bagging) and gradient boosting (XGBoost/LightGBM). On tabular data, boosted trees remain the models to beat — often outperforming deep nets.
Decision trees
Random forests (bagging)
Gradient boosting (XGBoost)
Feature importance
Build itA boosted-tree model wins on your tabular data. Explain why trees often beat neural nets here — and what feature importance reveals.
✓ CheckpointExplain the difference between bagging and boosting in terms of what each one is trying to reduce.
Neural nets stack simple units into powerful function approximators. Learn neurons, activation functions, forward passes, and backpropagation — the algorithm that assigns credit and lets a network learn. Understand backprop once and every deep model stops being magic.
Neurons & layers
Activation functions
Forward pass
Backpropagation
Build itTrace one training step through a 2-layer net: forward to a loss, then backprop the gradient. Where does the chain rule appear?
✓ CheckpointExplain what backpropagation is doing with the chain rule, and why the forward pass has to be remembered.
Depth unlocks representation learning — features are learned, not hand-crafted. Learn training at scale: optimizers (Adam), batching, learning-rate schedules, regularization (dropout), and the frameworks (PyTorch) that make it practical. This is the gateway to modern AI.
Optimizers (SGD/Adam)
Batching & epochs
Dropout & batch norm
PyTorch basics
Build itYour deep net will not converge. Walk through learning rate, initialization, and normalization as the usual suspects — which do you check first?
✓ CheckpointExplain what dropout does at training time and what it must NOT do at inference.
Convolutional networks brought the deep-learning revolution to images. Learn convolutions, pooling, feature hierarchies, and landmark architectures (ResNet). Even in a transformer world, CNNs remain the efficient default for many vision tasks — and the intuitions transfer.
Convolutions & filters
Pooling & feature maps
Architectures (ResNet)
Transfer learning
Build itFine-tune a pretrained ResNet on a small image dataset. Why does transfer learning beat training from scratch with little data?
✓ CheckpointExplain what a convolution buys over a fully-connected layer for images — the answer is about structure, not size.
Transformers replaced recurrence with attention and now dominate language — and beyond. Learn tokenization, embeddings, self-attention, and the encoder/decoder split that underpins BERT and GPT. This is the architecture behind every modern large language model.
Tokenization & embeddings
Self-attention
Encoder vs decoder
Pretraining & fine-tuning
Build itExplain self-attention as "each token looks at every other token." Why does that beat a fixed-window model for long-range meaning?
✓ CheckpointExplain why self-attention is quadratic in sequence length, and what that costs on a long document.
ML without tracking is chaos — dozens of runs and no memory of what worked. Learn experiment tracking (metrics, params, artifacts), data and model versioning, and reproducibility. The goal: any result can be reproduced, and the best model is never a mystery.
Experiment tracking
Data & model versioning
Reproducibility
Config management
Build itYou beat your baseline last week but cannot reproduce it. What should you have logged — data version, seed, params — to get it back?
✓ CheckpointExplain why an experiment you cannot reproduce is not a result yet.
A model in a notebook helps no one. Learn to serve models — batch vs real-time inference, packaging, APIs, and CI/CD for models. MLOps brings software discipline to ML so models ship reliably and repeatedly, not once by hand.
Batch vs real-time serving
Model packaging & APIs
CI/CD for models
Rollout & rollback
Build itTurn a trained model into a low-latency API. Where do you validate inputs, and how do you roll back a bad model version fast?
✓ CheckpointExplain what has to be true of a model before it can be served, beyond the metric it was selected on.
Features used in training must match features at serving time, or the model silently breaks. A feature store centralizes feature definitions, serves them online and offline, and prevents training-serving skew — a subtle bug that quietly wrecks production models.
Online vs offline features
Training-serving skew
Feature reuse
Point-in-time correctness
Build itA model is great offline but poor live. Show how a feature computed differently in training vs serving causes it — and how a store fixes it.
✓ CheckpointExplain training-serving skew with a concrete example, and how a feature store prevents it.
Models decay because the world changes. Learn to monitor prediction quality, detect data drift and concept drift, and trigger retraining. Unlike a service that stays broken until fixed, a model degrades quietly — monitoring is what catches the slow rot.
Data vs concept drift
Prediction monitoring
Retraining triggers
Shadow & canary models
Build itAccuracy is fine but the input distribution shifted. Which drift metric fires first, and when does that justify a retrain?
✓ CheckpointExplain the difference between data drift and concept drift, and why the second is harder to detect.
Big models and big data outgrow one GPU. Learn data parallelism vs model parallelism, gradient synchronization, mixed precision, and the memory/throughput tradeoffs. This is how modern models are trained across many accelerators without falling over.
Data vs model parallelism
Gradient synchronization
Mixed precision
GPU memory & throughput
Build itA model no longer fits on one GPU. Choose data vs model parallelism and explain the communication cost each strategy adds.
✓ CheckpointExplain the difference between data and model parallelism in terms of what gets split across devices.
Powerful models carry real risk. Learn fairness and bias auditing, interpretability (SHAP, feature attribution), privacy, and the human oversight that keeps automated decisions accountable. Responsible AI is not a compliance afterthought — it is part of the engineering.
Fairness & bias auditing
Interpretability (SHAP)
Privacy & data ethics
Human oversight
Build itA loan model rejects one group more often. How do you measure whether it is biased, and what levers reduce the disparity?
✓ CheckpointExplain what SHAP tells you and what it does not — an explanation is not a justification.
All 18 rungs on one screen. Each track assumes the one before it; the highlighted rung is where a track ends and the next one picks up.
Track order matters more than rung order inside a track: finish a track's last rung before starting the next track.
Worked example: a three-hours-a-week plan
Say you have three focused hours a week — an evening or two. Take the rungs in order and never split one across two weeks; a rung that would push the week past three hours starts the next week. The rung times add up to 19h.
Week
Rungs
Time
Week 1
F1 Math for ML, F2 Python, NumPy & pandas
2h 15m
Week 2
F3 Data Prep & Feature Engineering, F4 Supervised Learning
2h 15m
Week 3
F5 Unsupervised Learning, F6 Model Evaluation, T1 Linear & Logistic Regression
2h 55m
Week 4
T2 Trees & Ensembles, T3 Neural Networks & Backprop
That is 8 weeks of reading. The Build-it exercise on each rung is extra and is where most of the learning happens, so plan to spend at least as long building as reading — or halve the pace and do both in the same week.
What each track costs in time
The rung times above, added up per track. Use it to plan the slow stretch: a track that takes a larger share of the total is where the plan above spends more weeks.
Track
Rungs
Time
Share
Longest rung
1. Foundations
6
6h 25m
34%
F1 Math for ML (1h 15m)
2. Core ML
6
6h 55m
36%
T3 Neural Networks & Backprop (1h 15m)
3. Production
6
5h 40m
30%
P2 MLOps & Deployment (1h 5m)
Common mistakes on the Machine Learning path
Skipping the math to get to transformers
Backprop (T3) is the chain rule on gradients and attention (T6) is matrix multiplication. Without F1, a loss that will not go down is guesswork rather than debugging.
Tuning on the test set
Checking test scores while you pick hyperparameters turns the test set into a validation set, and the number you report is optimistic. Tune with a validation split or cross-validation (F6) and touch the test set once, at the end (F4).
Fitting preprocessing before the split
Fitting a scaler or encoder on all the data leaks test information into training. Fit transforms on training data only, for example inside a scikit-learn Pipeline (F3).
Neural nets for every problem
On tabular data, boosted trees (T2) often beat deep nets with less tuning. Start with logistic regression (T1) as a baseline, then try gradient boosting before anything deeper.
Stopping at the notebook
A portfolio of notebooks with one accuracy figure shows half the job. Add tracked experiments (P1), a served model (P2) and a plan for monitoring it (P4).
Where this shows up: jobs and interviews
The day-to-day work
More time goes to data and evaluation than to architecture: building datasets and features (F3), running and comparing experiments (P1), and error analysis on what the model gets wrong. Production roles add serving and monitoring (P2 to P4).
ML fundamentals rounds
Expect questions on bias and variance, regularization, metric choice, how trees and boosting work, and how backprop assigns credit (F4, F6, T1 to T3), alongside a standard coding round.
ML system design
"Design a spam filter" or "design a feed ranker." Interviewers probe the framing, where labels come from, features, offline versus online metrics, batch or real-time serving (P2), training-serving skew (P3), drift (P4) and fairness (P6).
Showing it in a portfolio
One project done end to end beats many: a clear baseline, a better model evaluated honestly, a deployed endpoint or batch job, and a short write-up of the error analysis and what failed.
Check yourself
Open a question only after you have answered it out loud. If one stumps you, the rung in brackets is where to go back to.
Training loss keeps falling, but validation loss started rising a few epochs ago. What is happening, and what do you try?
Overfitting. Stop early at the best validation epoch, add regularization such as L2 or dropout, get more data or augment it, or use a smaller model. (F4, T4)
In a spam filter, missing spam is annoying, but sending a real email to spam is much worse. Which metric do you prioritize?
Precision on the spam class, because a false positive is the costly error. Tune the decision threshold for it; accuracy hides the trade-off. (F6)
Features are computed in SQL for training and reimplemented in another language for serving. Offline scores are good; production is worse. Why?
Training-serving skew: the two implementations disagree, so the model sees different inputs live. Define each feature once, for example in a feature store, and log serving features to compare against training. (P3)
You have a couple of thousand labeled photos for a new image classifier. Train a CNN from scratch?
No. Use transfer learning: start from a network pretrained on a large dataset, such as a ResNet, and fine-tune it. Training from scratch needs far more data. (T5)
The common questions before you start — how long it takes, whether to follow it in order, and how it stays current.
How long does this roadmap take?
It runs 18 stations across 3 tracks — roughly ~16h of focused learning, plus the time you spend actually building. It is self-paced, so most people work through it over a few weeks, an evening or a single station at a time.
Do I have to follow the stations in order?
The tracks are ordered so each station builds on the one before, and following them start to finish is the intended path. But every station also stands alone — if you already have the foundations, jump straight to the part you need.
Is it free?
Yes. The whole roadmap, and every handbook, lab, and challenge it links to, is free and open — no sign-up and no paywall.
How is the roadmap kept current?
It teaches the durable fundamentals of the role first, then the tooling and the AI-era shifts on top — so most of it stays relevant as individual tools churn, and it is revised as the role itself changes.
Who is this roadmap for?
Anyone stepping into or leveling up in the Machine Learning role — whether you are switching in, early-career, or a senior filling gaps. Start where you are; the ladder shows what is left.