-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fix or remove metrics timeline in metadata panel #1000
Comments
Also... we've reached the 1000 issue milestone! Do I get a prize? |
Should we remove this now that we have everything in experiement tracking? |
In my opinion yes, and then we can also do this at the same time: #999 |
I'm not sure we should yet. We spoke of a user flow wherein someone would see a metrics plot in the metadata panel which would then lead them onto and into the experiment tracking page, where they could further explore their data. In this flow, the metadata plot would be the conduit between the two (requiring some modification to become a link, perhaps). @AntonyMilneQB what do you think of that? Would it be beneficial and add value? |
This makes sense as a feature, but we would need to (a) fix the plot as per the above points and probably also (b) make the graph consistent with how it displays in experiment tracking. In my opinion providing a link to experiment tracking page would be essential and the same logic would be used for any other tracked datasets like plots. Compared to showing plot previews in the metadata side panel, I think the metrics timeline is much less valuable. So maybe we should start by trying to link plots in the metadata side panel to the experiments tracking page? Overall does the added value of the feature outweigh the work involved? Maybe, maybe not. Off the top of my head I think it would be at least 5 points of work on the backend anyway. |
I was also thinking that this metrics timeline looks too basic now compared to the experiment tracking one. |
So based on the discussions we had in the grooming session, the conclusion is that we need to fix the backend for this and also improved the design. For the design I was thinking since we already have the d3 metrics timeline component ready -- we could just use that? The timeline will adjust itself based on the width and we show only last 10 runs so it don't think it will appear squashed. And maybe the 'Expand' button will take us to the main plot in experiment tracking. |
I think we should start with this, as you said, and probably remove the metrics plots in the metadata panel. We'll try and get this in next sprint. |
This is complete. |
This plot in the metadata panel is what I'm talking about:
The function that generates this,
models.flowchart.DataNodeMetadata.load_versioned_tracking_data
, has a few problems:FileNotFoundError: [Errno 2] No such file or directory: '/Users/antony_milne/kedro_stuff/kedro-viz/demo-project/data/09_tracking/linear_score.json/2022-08-03T22.06.41.403Z/linear_score.json'
and again the metadata panel won't show stuff. This error should have been swallowed and shouldn't be allowed to break other thingsWe should address the above problems with the function or just remove this plot altogether. Why might we prefer to remove it?
load_versioned_tracking_data
then we don't havecreate_metrics_plot
. Hence we could then remove pandas and plotly as kedro-viz dependencies altogether and there'd be no need for the rewrite suggested in Remove pandas and plotly dependency #999I don't think it's urgent to remove it, but if we do plan on doing so at some point in future there's not much point putting time into fixing the bugs and refactoring it, since they're not showstoppers at the moment. So what we do here basically depends on where kedro-org/kedro#1627 ends up and whether there will be a need for this plot at all in the future.
The text was updated successfully, but these errors were encountered: