Skip to content

Commit

Permalink
Remove cml publish pipe from examples (#3540)
Browse files Browse the repository at this point in the history
* Remove `cml publish` pipe from 2020-07-07-cml-release.md

* Remove `cml publish` pipe from 2021-10-15-october-21-heartbeat.md
  • Loading branch information
0x2b3bfa0 authored May 12, 2022
1 parent d6515d0 commit 14940a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion content/blog/2020-07-07-cml-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ cml:

# Visualize loss function diff
- dvc plots diff --target loss.csv --show-vega master > vega.json
- vl2png vega.json | cml publish --md >> report.md
- vl2png vega.json > plot.png
- cml publish --md plot.png >> report.md
- dvc push data --run-cache
- cml send-comment report.md
```
Expand Down
6 changes: 4 additions & 2 deletions content/blog/2021-10-15-october-21-heartbeat.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,17 @@ jobs:
-x actual \
-y predicted \
--show-vega master > vega.json
vl2png vega.json -s 1.5 | cml publish --md >> report.md
vl2png vega.json -s 1.5 > plot.png
cml publish --md plot.png >> report.md
# Publish regularization function diff
echo "### Effects of regularization" >> report.md
dvc plots diff \
--target estimators.csv \
-x Regularization \
--show-vega master > vega.json
vl2png vega.json -s 1.5 | cml publish --md >> report.md
vl2png vega.json -s 1.5 > plot.png
cml publish --md plot.png >> report.md
cml send-comment report.md
```
Expand Down

0 comments on commit 14940a5

Please sign in to comment.