Skip to content

Commit

Permalink
Merge pull request #1908 from iterative/updateexample
Browse files Browse the repository at this point in the history
Updates metrics show and Plots diff example as per 1.0
  • Loading branch information
jorgeorpinel authored Nov 12, 2020
2 parents 4bc3155 + bbe435b commit ae9292e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
4 changes: 2 additions & 2 deletions content/docs/command-reference/metrics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ to compare and pick the best performing experiment.
## Examples

> This example is based on our
> [Get Started](/doc/tutorials/get-started/experiments#project-metrics), where
> you can find the actual source code.
> [Get Started](/doc/start/experiments#collecting-metrics), where you can find
> the actual source code.

First, let's imagine we have a simple [stage](/doc/command-reference/run) that
produces a `eval.json` metrics file:
Expand Down
11 changes: 3 additions & 8 deletions content/docs/command-reference/metrics/show.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ compares them with a previous version.

## Examples

> This example is based on the `evaluate.dvc` stage file of our
> [Get Started](/doc/tutorials/get-started/experiments#project-metrics), where
> you can find the actual source code.
> This example is based on the `evaluate` stage of our
> [Get Started](/doc/start/experiments#collecting-metrics), where you can find
> the actual source code.
The basic use case shows the values in the current workspace:

Expand Down Expand Up @@ -116,8 +116,3 @@ increase_bow:
error: 0.17074
TP: 521
```

The
[Compare Experiments](/doc/tutorials/get-started/experiments#compare-experiments)
chapter of our _Get Started_ covers the `-a` option to collect and print a
metrics file value across all Git branches.
7 changes: 4 additions & 3 deletions content/docs/command-reference/params/diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ Define a pipeline [stage](/doc/command-reference/run) with parameter
dependencies:
```dvc
$ dvc run -d users.csv -o model.pkl \
-p lr,train \
python train.py
$ dvc run -n train \
-d train.py -d users.csv -o model.pkl \
-p lr,train \
python train.py
```

Let's now print parameter values that we are tracking in this
Expand Down

0 comments on commit ae9292e

Please sign in to comment.