Recording Model and Evaluation Data Versions

A score refers to a particular model, data set, split, and evaluation procedure. Preserve those identifiers together.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace one rerun
  2. Keep source identity stable
  3. Tie a metric to every artifact needed for reproduction
  4. Include evaluation code and available assumptions

Trace one rerun

The same model can yield a different score if the benchmark gains new rows or a preprocessing default changes. Reproducible runs describe the full input context.

Keep source identity stable

Record artifact version and the known configuration used for metrics. Source branches and release artifacts provide the analogous build provenance.[1][2]

Tie a metric to every artifact needed for reproduction

A stored score table belongs to one fitted model, preprocessing rule, threshold and held-out dataset revision. Updating labels or replacing weights can explain a changed score without a code defect. Record identities for all of them. See artifact identity.

model M2, transform P1
data revision D4, fixture split S3
threshold .7, metric definition F
Saved report refers to this complete test configuration

Include evaluation code and available assumptions

A metric convention or inclusion rule can change over time. Keep versions and counts with published claims. Verify that rerunning on a stored fixture gives the expected calculation.

References

  1. Gareth James et al., An Introduction to Statistical Learning ↩
  2. scikit-learn Developers, Metrics and Scoring: Quantifying the Quality of Predictions ↩