From 75498fa754a85e57368bab0308ed8168bf420f4f Mon Sep 17 00:00:00 2001 From: David de la Iglesia Castro Date: Fri, 29 Oct 2021 20:41:12 +0200 Subject: [PATCH] Updated exp diff tables --- content/docs/command-reference/exp/diff.md | 42 +++++++++++----------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/content/docs/command-reference/exp/diff.md b/content/docs/command-reference/exp/diff.md index d20d0f8f8f..061654dd3f 100644 --- a/content/docs/command-reference/exp/diff.md +++ b/content/docs/command-reference/exp/diff.md @@ -25,12 +25,12 @@ difference ("Change") for numeric values. Example: ```dvc $ dvc exp diff -Path Metric Value Change -scores.json roc_auc 0.93345 0.018087 -scores.json grade B- — +Path Metric HEAD workspace Change +scores.json roc_auc 0.915363 0.93345 0.018087 +scores.json grade B B- — -Path Param Value Change -params.yaml max_features 3000 1500 +Path Param HEAD workspace Change +params.yaml max_features 1500 3000 1500 ``` > This is similar to combining the reports from `dvc params diff` and @@ -60,9 +60,6 @@ all the current experiments (without comparisons). - `--md` - prints the command's output in the Markdown table format ([GFM](https://github.github.com/gfm/#tables-extension-)). -- `--old` - include the "Old" value column in addition to the new "Value" (and - "Change"). Useful when the values are not numeric, for example - - `--no-path` - hide the "Path" column that lists the param/metrics file location. Useful when only one metrics or params file exists, for example @@ -101,10 +98,11 @@ to its baseline (`10-bigrams-experiment`, current `HEAD`) like this: ```dvc $ dvc exp diff exp-1dad0 -Path Metric Value Change -scores.json auc 0.61314 0.035575 -Path Param Value Change -params.yaml featurize.max_features 1500 -500 +Path Metric HEAD exp-1dad0 Change +scores.json auc 0.577565 0.61314 0.035575 + +Path Param HEAD exp-1dad0 Change +params.yaml featurize.max_features 2000 1500 -500 ``` To compare two specific experiments (values are shown for the second one by @@ -112,10 +110,11 @@ default): ```dvc $ dvc exp diff exp-1dad0 exp-1df77 -Path Metric Value Change -scores.json auc 0.51676 -0.060799 -Path Param Value Change -params.yaml featurize.max_features 500 -1500 +Path Metric exp-1dad0 exp-1df77 Change +scores.json auc 0.577559 0.51676 -0.060799 + +Path Param exp-1dad0 exp-1df77 Change +params.yaml featurize.max_features 2000 500 -1500 ``` To compare an experiment to the @@ -124,9 +123,10 @@ tag (or any other [revision](https://git-scm.com/docs/revisions)): ```dvc $ dvc exp diff exp-1dad0 7-ml-pipeline -Path Metric Value Change -scores.json auc None diff not supported -Path Param Value Change -params.yaml featurize.max_features 500 -1500 -params.yaml featurize.ngrams 1 -1 +Path Metric exp-1dad0 7-ml-pipeline Change +scores.json auc 0.577559 None diff not supported + +Path Param exp-1dad0 7-ml-pipeline Change +params.yaml featurize.max_features 2000 500 -1500 +params.yaml featurize.ngrams 2 1 -1 ```