Evaluation Metric Versions and ArchivingBeta
Metrics change over time. Versions keep past results readable, and archiving hides metrics you no longer use.
Metric Versions
Each time you save a metric with new code, you get a new version. Experiments always use the latest version and record which version produced each result. You can improve a metric over time and still read past results exactly as they were measured.
When you save a new version, keep each metric key's shape and level, so results for that key still chart as one line. A score's declared range can stay the same, grow, or be added where there was none:
- Widen the range: A new range that contains the old one is accepted, for example from 0–300 to 0–600 or from 0–1 to -1–2. Every old value is still on the new scale, so the series continues under the same key.
- Add a range: You can declare a range on a score that didn't have one.
- Narrow, shift, or drop the range: These changes are refused, because they would chart two different measures as one line. To make one of these changes, for example to move a score from 0–1 to 1–5, use a new key.
A score's normalized mean, the value that Metric Group Composites combine, is computed from the declared range. After you widen a range, the same raw value therefore normalizes lower: 150 seconds is 0.5 on a range of 0–300 and 0.25 on 0–600. Raw values and charts aren't affected, but Composites of runs from before and after the widening aren't on the same scale, so don't compare them directly.
A label's Scale and a score's direction aren't part of this rule. You can add, change, or drop them in any version. For details, see Evaluation Metric Values and Direction.
Metrics belong to your workspace, so you can reuse one metric across several pipelines.
Archived Metrics
To tidy the Metrics page without changing what your experiments measure, archive a metric you no longer use. You archive a metric with the Archive button in its row on the Metrics page of your pipeline's Evaluation area. An archived metric is hidden from the page by default. It keeps its name, its versions, and its place in every Metric Group, and those groups still score with it. Archiving therefore never changes what a run measures, and you don't need to confirm anything.
To list archived metrics, turn on Show archived, which also shows how many metrics are archived. The switch is off by default and appears only when at least one metric is archived. Archived metrics appear with an Archived tag. To put a metric back on the page, click Unarchive in its row.
Archived metrics behave like this elsewhere:
- A new Metric Group doesn't offer archived metrics. A group that already holds an archived metric keeps showing it by name.
- The Metric count on the Evaluation Overview page leaves archived metrics out.
- An archived metric keeps its name, so you can't give the name to a new metric.
Related Information
Was this page helpful?