Machine Learning

Experiment Tracking

Experiment tracking is the practice of recording every model training run, including its code version, data, hyperparameters, metrics, and outputs, so results can be compared and reproduced later.

What is experiment tracking?

Experiment tracking is the practice of recording every model training run so that results can be compared, reproduced, and explained. For each run the tracking system logs the code version, the dataset or snapshot used, the hyperparameters, the evaluation metrics, and the output artifacts such as the trained weights and plots. A few lines in the training script send these records to a server, and a web interface lets the team compare hundreds of runs.

Why experiment tracking matters

Without tracking, the model that worked well last month cannot be rebuilt, because nobody remembers which combination of settings produced it. Two data scientists working on the same problem can see each other’s runs instead of repeating them, and a surprising result can be traced to the change that caused it.

A retailer’s demand forecasting team ran several hundred configurations. The tracked runs showed that adding the promotion calendar as a feature produced most of the gain, while weeks of hyperparameter tuning added little. One run with suspiciously good accuracy was traced through its logged inputs to a feature that leaked future sales into the training data. In a regulated setting, the same records show an auditor how the production model was selected.

What to watch for

  • Log the data snapshot or its version, because the code alone does not define the run.
  • Name and tag runs consistently so a search returns the right one months later.
  • Connect tracking to the model registry so the production model points back to the run that produced it.

← Back to AI Glossary