Plot metric values from multiple experiments as a single series #9593
-
I wonder if it's possible to achieve the following:
So far I haven't found how to achieve that. Is it even possible using DVC? If not, is it planned? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It is not possible to do in DVC CLI and it is not currently planned to support it natively in the CLI.
We currently support something similar to what you want in the DVC VSCode UI using Quick example using a simple DVCLive snippet and the VSCode UI : import random
from dvclive import Live
for threshold in [0.1, 0.2, 0.3]:
for lenght in [10, 20, 30]:
with Live(report=None, save_dvc_exp=True) as live:
score = random.random() * lenght * threshold
live.log_param("threshold", threshold)
live.log_param("lenght", lenght)
live.log_metric("score", score, plot=False) custom-plots.mp4For more complex things, I would recommend using https://dvc.org/doc/api-reference/exp_show and Python to plot, as you suggested |
Beta Was this translation helpful? Give feedback.
It is not possible to do in DVC CLI and it is not currently planned to support it natively in the CLI.
We currently support something similar to what you want in the DVC VSCode UI using
Custom Plots
.It will be eventually supported also in the DVC Studio Web UI .
Quick example using a simple DVCLive snippet and the VSCode UI :