Skip to content

Instantly share code, notes, and snippets.

@mribeirodantas
Created March 3, 2020 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mribeirodantas/c0eed0cf5d340c30896cc484c46f0b97 to your computer and use it in GitHub Desktop.
Save mribeirodantas/c0eed0cf5d340c30896cc484c46f0b97 to your computer and use it in GitHub Desktop.
# And then the pipeline entry
dvc run -f evaluate.dvc \
-d output_dir/retained.edges.csv -d evaluate.R \
-m output_dir/metric.txt \
Rscript evaluate.R
# By giving the parameter -m, instead of -o, we tell DVC
# that his file has a metric for our pipeline.
# Git
git add evaluate.dvc output_dir/.gitignore evaluate.R
git commit -m "Adds evaluate script/pipelien entry"
# Let's check our metrics (thanks to the -m parameter).
dvc metrics show -T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment