Data Science learning roadmap
Frame a problem, build and validate a model, then deploy it and watch it in production.
Start with short learning sessions here. Continue coding and project work on your laptop with the same GitHub account.
Start this pathWhat you’ll build
Credit default risk model
A model that estimates default risk for existing credit-card accounts at a fixed point in time, and weighs the cost of each kind of mistake, served live from AWS. It is not for approving new loans.
Tap a milestone to see what you’ll build on your laptop.
1ML Fundamentals
Write a one-page design doc and who uses the prediction, when it is made and what each mistake costs, then train two baseline pipelines.
What to show: framing.md, two baseline pipelines and their tests.
3Feature Engineering
Build preprocessing inside the pipeline, check for leakage and keep only the feature groups that earn their place.
What to show: The feature pipeline, a leakage audit and an ablation table.
5Model Evaluation
Pick a threshold by cost, check the probabilities are calibrated and compare errors across groups.
What to show: evaluation.md with the threshold, calibration and group results.
7Advanced Models
Compare a boosted tree model with your baseline on cost, speed and explainability, then decide whether to ship it.
What to show: model_selection.md with the comparison, SHAP plots and the decision.
8Model Deployment
Serve the model through a tested FastAPI app, run it in Docker locally, then put it live on AWS Lambda with a public URL.
What to show: app/main.py, API tests, a Dockerfile and docs/api.md.
Tools: Model families, Segments, A/B design, Monitoring.
What you'll build
Credit default risk model
A model that estimates default risk for existing credit-card accounts at a fixed point in time, and weighs the cost of each kind of mistake, served live from AWS. It is not for approving new loans.
Data
Default of Credit Card Clients (UCI, CC BY 4.0): 30,000 existing accounts with April–September 2005 payment/bill history and a default flag. State the prediction time and feature availability. Error costs are teaching assumptions in declared units.
One GitHub repo for the whole path. You connect it once, and each module adds a verified milestone.
You need: A laptop with 8 GB of RAM, Docker from Model Deployment onward, and an AWS account on the Free plan to put the model live. If AWS will not accept your card, a GitHub-only route gets you through the same checks.
Tap a milestone to see what you’ll build on your laptop.
1ML Fundamentals
Write a one-page design doc and who uses the prediction, when it is made and what each mistake costs, then train two baseline pipelines.
What to show: framing.md, two baseline pipelines and their tests.
3Feature Engineering
Build preprocessing inside the pipeline, check for leakage and keep only the feature groups that earn their place.
What to show: The feature pipeline, a leakage audit and an ablation table.
5Model Evaluation
Pick a threshold by cost, check the probabilities are calibrated and compare errors across groups.
What to show: evaluation.md with the threshold, calibration and group results.
7Advanced Models
Compare a boosted tree model with your baseline on cost, speed and explainability, then decide whether to ship it.
What to show: model_selection.md with the comparison, SHAP plots and the decision.
8Model Deployment
Serve the model through a tested FastAPI app, run it in Docker locally, then put it live on AWS Lambda with a public URL.
What to show: app/main.py, API tests, a Dockerfile and docs/api.md.
Tools: Model families, Segments, A/B design, Monitoring.
How does your model score an account, why did you pick that threshold, where is it less sure, and can someone else reproduce it? Explain why it cannot be used to approve new loans.
Module by module
- 01
1ML Fundamentals
Frame what you are predicting and what a wrong guess costs, then build a simple baseline model.
Write a one-page design doc and who uses the prediction, when it is made and what each mistake costs, then train two baseline pipelines.
Frame the prediction · Baselines and the right metric · Pipelines and a clean test set
23hML Fundamentals
Write a one-page design doc and who uses the prediction, when it is made and what each mistake costs, then train two baseline pipelines.
- 02
2How Models Learn
See inside the classic models: regression and its checks, logistic regression, naive Bayes, KNN, trees, forests and regularisation.
Train five model families on the same folds, explain how each decides and pick a challenger to carry forward.
Regression and its checks · Classifiers: logistic, naive Bayes, KNN · Trees, forests and regularisation
24hHow Models Learn
Train five model families on the same folds, explain how each decides and pick a challenger to carry forward.
- 03
3Feature Engineering
Turn raw columns into useful features without leaking the answer, and keep only the ones that help.
Build preprocessing inside the pipeline, check for leakage and keep only the feature groups that earn their place.
Encoding and scaling · Avoiding data leakage · Keeping features that help
18hFeature Engineering
Build preprocessing inside the pipeline, check for leakage and keep only the feature groups that earn their place.
- 04
4Unsupervised Learning
Find structure without labels: reduce columns with PCA, group accounts into segments and test whether segments help the model.
Reduce the bill and payment columns with PCA, group accounts with k-means and test whether the segment helps the model.
PCA · k-means · Hierarchical clustering and segments
18hUnsupervised Learning
Reduce the bill and payment columns with PCA, group accounts with k-means and test whether the segment helps the model.
- 05
5Model Evaluation
Pick a decision threshold, check the probabilities are honest and see who the model gets wrong.
Pick a threshold by cost, check the probabilities are calibrated and compare errors across groups.
Choosing a threshold · Honest probabilities · Errors by group
22hModel Evaluation
Pick a threshold by cost, check the probabilities are calibrated and compare errors across groups.
- 06
6A/B Testing
Plan an experiment big enough to answer the question, decide the rules up front and read the result honestly.
Plan a test of a reminder for at-risk accounts: hypothesis, sample size, stopping rule and ship rule.
Designing the test · Sample size · When to stop and decide
20hA/B Testing
Plan a test of a reminder for at-risk accounts: hypothesis, sample size, stopping rule and ship rule.
- 07
7Advanced Models
Try a stronger model like XGBoost, explain it with SHAP and ship it only if it is worth the extra cost.
Compare a boosted tree model with your baseline on cost, speed and explainability, then decide whether to ship it.
Boosted trees · Validating it properly · Explaining it and the trade-off
24hAdvanced Models
Compare a boosted tree model with your baseline on cost, speed and explainability, then decide whether to ship it.
- 08
8Model Deployment
Serve your model through a tested API that checks its inputs, run it in Docker, then put it live on AWS.
Serve the model through a tested FastAPI app, run it in Docker locally, then put it live on AWS Lambda with a public URL.
A model API with FastAPI · Testing the API · Docker, then live on AWS
27hModel Deployment
Serve the model through a tested FastAPI app, run it in Docker locally, then put it live on AWS Lambda with a public URL.
- 09
9Data Science Capstone
Ship the full project with a model card, one honest final test, human review rules and a decision memo.
Release the model live with green CI, a model card, one final test, an updated design doc, review rules and a decision memo.
The model card · The final test · Human review and the memo
28hData Science Capstone
Release the model live with green CI, a model card, one final test, an updated design doc, review rules and a decision memo.