-
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
experiments: parallel coordinates plot #4455
Comments
Seems like it will involve creating a new template. |
See https://vega.github.io/vega-lite/examples/parallel_coordinate.html for example parallel coordinates plot schema This will also require adding support for parameters in DVC plots, my understanding is that we cannot currently plot values from |
NOTE: accepting any viable file is already implemented in #4446 |
Would this belong in a separated It feels like parallel plots don't make much sense without experiments and the implementation would probably be easier if we handle the generation as an optional flag of |
So after some research here is my idea on how to implement a minimum viable version:
Tabular datasets can and should be able to use this kind of plot (as shown in the example vega lite where raw tabular data is plotted). For the case of experiments, the template would be used in The internal This plot doesn't fit the usual schema of anchors we use for other plots . For this kind of plot, we need to have anchors for: raw data; multiple columns to display ( This feels kind of blocked by #5980 although there could be workarounds with the existing functionality.
After trying different external tools for generating parallel coordinate plots, it looks that the better way would be to extend
|
What field will be used to determine line colors? |
For the experiments use case, I was thinking of using the |
Do you plan to make it configurable? I'm guessing it could be helpful to users to color by one of the metrics. |
For initial implementation we could support
We had a talk (with @daavoo) about the data and it seems the best abstraction is to provide VegaRenderers with list of datapoints. Vega templates requires as to provide a list of datapoints, which we create from |
Not gonna lie, I have been trying out the vega-lite example, adapting it to be used as a template, and just something that seems simple like considering a scalar vs categorical column for coloring ended being not that simple (maybe my lack of experience with Even though iterative/dvc-render#7 might look like a deviation coming from nowhere I actually think that it could be considered a product pre-requisite for the parallel coordinates plot (and actually at a good cost-opportunity tradeoff, IMO). Leaving apart my lack of |
@daavoo It also might be the fact that
Maybe it would be easier to actually use pure |
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`, `color-by`, `out`, `open` Closes #4455
Uses `TabularData.to_parallel_coordinates`. Adds new arguments: `html`, `color-by`, `out`, `open` Closes #4455
Uses `TabularData.to_parallel_coordinates`. Adds new arguments: `html`, `color-by`, `out`, `open` Closes #4455
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
Uses `TabularData.to_parallel_coordinates`. Adds new arguments: `html`, `out`, `open` Reuses `--sort-by` to define colorscale. Closes #4455
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
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
I'd love to see a parallel coordinates plot for an experiment.
The text was updated successfully, but these errors were encountered: