⚙️MLflow
Also known as ML Flow, MLflow Tracking
A free tool that logs each training run and stores the models it makes.
Think of it like
It is like a lab notebook that fills itself in. Each test you run gets its own page.
Example
Emma adds two lines of MLflow to her training script. After 30 runs she opens its web page and sorts them by score to find the best settings.
Why it matters
Without a log, nobody can say which settings made the best model. MLflow keeps that record for free.
Definition
Example code
python
import mlflow
with mlflow.start_run():
mlflow.log_param("learning_rate", 0.01)
mlflow.log_metric("accuracy", 0.91)Common mistake
Key takeaways
- 1Logs every run. Settings, scores and the saved model.
- 2Registry built in. Marks which version is ready to use.
- 3Free and open. Apache 2.0, run on your own servers or in a cloud.