Skip to content

Commit

Permalink
Updated exp diff tables
Browse files Browse the repository at this point in the history
  • Loading branch information
daavoo committed Nov 4, 2021
1 parent 02b6136 commit 75498fa
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions content/docs/command-reference/exp/diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -101,21 +98,23 @@ 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
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
Expand All @@ -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
```

0 comments on commit 75498fa

Please sign in to comment.