liveBook · Manning

Reproducibility

As explained in Machine Learning System Design

Reproducibility is the property of being able to recreate a dataset or computational result from its original source and documented procedure.

Reproducibility means recreating a dataset from scratch using the same source and a documented software procedure. Replace manually crafted “golden” files with a script, pipeline, or larger system that collaborators can run. section 6.6

A reproducible data workflow should:

  • Record the origin and preprocessing steps needed to regenerate the dataset. section 6.6
  • Test the regeneration procedure so every project collaborator can run it. section 6.6
  • Treat dataset construction like infrastructure as code rather than a one-time manual task. section 6.6
  • Preserve metadata and ensure the pipeline also remains consistent and available. section 6.8

The missed preprocessing step

A manually assembled dataset may work initially, but a later batch can omit one preprocessing step. Regenerating the data through a tested procedure makes that omission less likely and easier to detect before it affects system performance. section 6.6

Reproducibility supports maintainable dataset updates, while consistency addresses whether labels and other data properties follow stable rules. Both matter when preparing data for machine learning. section 6.6 section 6.8

How Machine Learning System Design covers it

How deep it goes
Defines documented and tested regeneration procedures, but stops short of prescribing a particular implementation.
Examples
Uses manually crafted datasets, omitted preprocessing steps, and regenerated batches as practical examples.
What you can do after
Build it from scratch through a documented, tested procedure using the original data source.
How it connects
Connects dataset generation with data pipelines, preprocessing, metadata, infrastructure as code, consistency, and availability.

Also explained in

Compare how 8 books explain reproducibility →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.