-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exp show: Add parallel coordinates plot. #6933
Conversation
974ef89
to
ffbb688
Compare
6560267
to
823a6f7
Compare
6c86682
to
d8c77da
Compare
d8c77da
to
7fe01e3
Compare
My biggest question is whether this belongs in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
One other comment: behavior seems kind of odd where a value is missing, like the points show up in unpredictable patterns. Would it make sense to have a set value for missing data so it all gets grouped together? Not sure if this is possible for numeric fields.
7fe01e3
to
9de1e5f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cc45fc3
to
140c719
Compare
just to check - the colourbar missing a label in the video/images :) |
43ca84e
to
e982103
Compare
d47cb1a
to
e1f47bd
Compare
e1f47bd
to
8a96d24
Compare
New renderer based on plotly. Not exposed to `dvc plots`. Generate plotly datapoints from `TabularData`. pre-requisite #4455
Uses `ParallelCoordinatesRenderer` and `dvc.render.html.write`. pre-requisite #4455
Uses `TabularData.to_parallel_coordinates`. Adds new arguments: `html`, `out`, `open` Reuses `--sort-by` to define colorscale. Closes #4455
Adds new argument `fill_value` to ParallelCoordinatesRenderer. For scalar columns, prevent converting to categorical by explictly inserting None when value is missing (value == fill_value). For categorical columns, replace `fill_value` with `"Missing"` and ensure it is the last item so it gets rendered on top of the column.
8a96d24
to
a12e3ce
Compare
Why something as generic and conceptually disconnected as "HTML"? How about |
I understand the default here is |
It is the same for plots. At least in current version, DVC pots are saved in |
According to https://dvc.org/doc/command-reference/plots/show#options It would be more consistent to just use the cwd Or are the docs outdated? |
Also, the choice of |
To be honest |
Yes they are iterative/dvc.org#3110 |
β I have followed the Contributing to DVC checklist.
π If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
Closes #4455
Introduces the following new arguments / behavior to
dvc exp show
:--html
π€·--sort-by {foo}
Defines the column to create colorscale from (UsesExperiment
as default)--out {foo}
--open
Examples
Using https://github.com/iterative/demo-fashion-mnist
Grabacion.de.pantalla.2021-11-30.a.las.13.28.45.mp4
dvc exp show -T --html
dvc exp show -T --html --sort-by accuracy
dvc exp show -T --html -sort-by accuracy --exclude-metrics loss