From ee515b88296907141fe73824d6b9d83b1ce077b3 Mon Sep 17 00:00:00 2001 From: Nate Gadzhibalaev Date: Sat, 4 Jul 2020 18:22:34 -0700 Subject: [PATCH] Get Started: explaining code.zip contents, and plots axis options (#1514) * Added a line about params.yaml to data-pipelines.md * Updated experiments.md with plot modify details * Cleanup & copy tweaks * Added more details on dvc plots diff options. * Update content/docs/start/data-pipelines.md * prettier on experiments.md + tweaked copy Co-authored-by: Jorge Orpinel --- content/docs/start/data-pipelines.md | 12 +++++++++--- content/docs/start/experiments.md | 5 ++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/content/docs/start/data-pipelines.md b/content/docs/start/data-pipelines.md index 5029dcad9c..c0a7c9b86c 100644 --- a/content/docs/start/data-pipelines.md +++ b/content/docs/start/data-pipelines.md @@ -26,9 +26,15 @@ Get the sample code like this: $ wget https://code.dvc.org/get-started/code.zip $ unzip code.zip $ rm -f code.zip -$ ls src -evaluate.py featurization.py prepare.py -requirements.txt train.py +$ tree +. +├── params.yaml +└── src + ├── evaluate.py + ├── featurization.py + ├── prepare.py + ├── requirements.txt + └── train.py ``` Now let's install the requirements: diff --git a/content/docs/start/experiments.md b/content/docs/start/experiments.md index 8fd99fe306..c50f50da45 100644 --- a/content/docs/start/experiments.md +++ b/content/docs/start/experiments.md @@ -214,7 +214,7 @@ scores.json auc 0.61314 0.07139 And finally, we can compare `ROC` curves with a single command! ```dvc -$ dvc plots diff +$ dvc plots diff -x recall -y precision file:///Users/dvc/example-get-started/plots.html ``` @@ -224,3 +224,6 @@ All these commands also accept [Git revisions](https://git-scm.com/docs/gitrevisions) (commits, tags, branch names) to compare. This is a powerful mechanism for navigating experiments to see the history, to pick the best ones, etc. + +> See `dvc plots diff` for more info on its options, such as `-x` and `-y` used +> above.