Skill · Machine learning · Frame, equip, train and reproduce machine learning models
Make a training run reproducible and describe it as a parameterised pipeline replayed identically (uv, DVC)
Make a scikit-learn training run reproducible by fixing its two sources of randomness with a seed read from params.yaml, locking the environment with uv.lock and deciding what goes into Git, then describe data generation and training as dvc.yaml stages with commands, dependencies, parameters, outputs and metrics, replay with dvc repro while reading dvc.lock, check that a changed parameter only replays the stage that declares it, compare metrics from one commit to the next with dvc metrics diff, and get the same metrics back on a fresh clone.
Start lesson 1The Machine learning domain
- 2 lessons
- ~2 h 00 of reading
- 2 quizzes
- 1 proof lab
The path
Where it comes from, where it leads
What you need to know first, where you stand on this skill, and what it opens next. Your status is computed in your browser, from what you have read and passed.
Before · 2 prerequisites
This skill, for you
Make a training run reproducible and describe it as a parameterised pipeline replayed identically (uv, DVC)
Computing
It unlocks · nothing yet
No other skill requires it: it is an end-of-path skill.
The path through the foundations From the most upstream foundation to this skill: what is in place, what remains to read.
Lessons
How to learn it
2 lessons, about ~2 h 00, in program order. Each lesson ends with its quiz.
The program
2 lessons · ~2 h 00
Beyond the lessons
Assess, practise, pass the proof
Reading a lesson confirms nothing. A skill is confirmed by a passed quiz, practised in a guided lab, and put to the test by a challenge or a mission; an imported lab result is not verified by the site.
Assess yourself
2 quizzes
At the end of the lessons: passed at 70%, they confirm the skill.
Proof
1 practical proof
A practical proof is a challenge, a capstone or a declared lab.
Placement test
Preparing the questions…
Your answers in detail
For each question asked: your answer, the correct answer, its explanation and the page to reread.
Around it
Who requires it, who teaches it
Required by
No published job requires it yet.
Taught by
Same block · Frame, equip, train and reproduce machine learning models
- Frame a machine learning problem: choose the learning family and place the work in the project lifecycle
- Set up a reproducible data science workstation: a pinned conda environment and a Jupyter notebook that runs end to end
- Train a linear regression and evaluate it on a test set (scikit-learn, R², RMSE)
- Group unlabelled data with k-means and choose the number of clusters (elbow, silhouette)
- Train a small neural network on CPU with PyTorch and read its decision boundary
- Version a dataset outside Git and get back an exact version of it (DVC)
- Track every training run on a tracking server and find the run that produced a model (MLflow)
- Register and version a model and refer to it by alias with its lineage (MLflow)
- Test data and model before promotion: schema, ranges, threshold and non-regression against the champion (pytest)