You need to track which dataset version, code version and settings produced each experiment result. What should you do?
- Exam domain
- Experimentation25% of the exam
- Difficulty
- Medium
- In this mock
- 13 questions on this domainPractise this domain
Why the exam asks this
Experimentation (25% of the exam)
Objective in the exam guide: Assist in developing and testing multimodal AI models.
Reproducibility underpins every experiment.
Why A is the answer
Log each run's data version, code commit and settings with its metrics
Tracking data versions, code commits and hyperparameters with metrics makes experiments reproducible and comparable.
Remember: Log data, code and settings with every result.
How it works
Developing and testing models requires logging data, code and settings so results can be reproduced.
In detail
- Reproducibility needs full records.
- Experiment trackers help.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Log each run's data version, code commit and settings with its metricsRight
Log data, code and settings with every result.
B. Save only the best model file and delete the other runs so storage costs stay low over timeWrong
Deleting runs loses comparisons.
C. Use a different folder name for each dayWrong
Dates do not record settings.
D. Keep results in your headWrong
Memory fails.
Use case
An illustrative scenario, not a real incident.
Illustrative: a result from three weeks ago is reproduced exactly from its logged settings.
See it in different ways
flowchart LR S0["Data version"] --> S1["Code commit"] --> S2["Settings"] --> S3["Metrics"] --> S4["Artifacts"]
How to read this chart
- Read it in order: Data version, then Code commit, then Settings, then Metrics, then Artifacts.
mindmap
root(("Experiment log"))
n1["Inputs"]
n2["Data version"]
n3["Code commit"]
n4["Settings"]
n5["Hyperparameters"]
n6["Seeds"]
n7["Outputs"]
n8["Metrics"]
n9["Model files"]How to read this chart
- The centre is "Experiment log".
- "Inputs" covers "Data version", "Code commit".
- "Settings" covers "Hyperparameters", "Seeds".
- "Outputs" covers "Metrics", "Model files".
Related questions
Learn more
- Our lesson: Experiments, data quality and analysis
- Practise Experimentation questions in the mock exam
- Source: MLflow documentation
- Cross-validation (scikit-learn)
- Metrics and scoring (scikit-learn)
- Common pitfalls and recommended practices (scikit-learn)
- Grad-CAM: Visual Explanations from Deep Networks (arXiv)
- Matplotlib documentation