Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Supporting the reporting use case on Kedro-Viz #1279

Closed
yetudada opened this issue Mar 6, 2023 · 3 comments
Closed

Supporting the reporting use case on Kedro-Viz #1279

yetudada opened this issue Mar 6, 2023 · 3 comments

Comments

@yetudada
Copy link
Contributor

yetudada commented Mar 6, 2023

Description

This ticket describes enabling users to do reporting using Kedro-Viz. This issue proposes the following user journey; a user would be able to:

  1. Update parameters for a pipeline run
  2. Do a pipeline run with the updated parameters
  3. See output charts (already possible with Plotly and Matplotlib integration; could be extended with VizX integration)

Screenshot 2023-03-06 at 12 55 48

The focus of this discussion is steps 1 and 2. This is an unvalidated bet that we can increase the usage of Kedro-Viz if we better support reporting.

Why should we explore something like this?

There is qualitative evidence to support the build of functionality like this. The bet is that this functionality, coupled with #1116, will make Kedro-Viz a single-entry point for visualising outputs from a run and will also support non-technical users who need the insights, resulting in increased usage of Kedro-Viz.

Here is some qualitative evidence to suggest that this is needed:

  • ModelUI [43:17] and the VizX extensions [38:04] were hackathons ideas from QuantumHack 3.0
  • It was discovered that a user has built reporting Jupyter notebooks with notes on which parameters the user could change, use of Kedro's API to do a pipeline run in the notebook and support for output charts in the Databricks research [08:20]
  • A separate user query: "In our project, we would like each model to be summarised by a detailed report (with elements like many different graphs, tables with parts of data, variables distribution, variable importance graphs, performance metrics, pieces of parametrised text etc.). Probably optimal format of such a report would be HTML or PDF. Would you be able to suggest what would be the best way to create such reports with Kedro? Currently, we are developing nodes that write a report to file, skipping the Kedro output system, but this is quite messy (this node is huge). We are also considering using Jupyter notebook, which rerun will be triggered by Kedro pipeline after the model is retrained and saved to HTML (again within the Kedro pipeline). Still, this way report would look quite crude. Please share your experiences and suggestions on how to approach best this type of reporting in Kedro."

What's next?

We would need to validate that this is a direction that we should go in by sourcing more user input. This design is straight out of my dreams and is therefore not accurate to full user requirements nor is it technically feasible.

@tynandebold tynandebold moved this to Discovery or Research - Now ⏳ in Roadmap Mar 6, 2023
@datajoely
Copy link
Contributor

Perhaps the right way to contextualise this around a "Run experiments" workflow and make the tracked parameters the pieces that one can change?

@datajoely
Copy link
Contributor

In general I think there is a great opportunity for Kedro to empower our Python engineers without front-end skills to make UIs. Exposing Kedro library components the catalog, session and runner in a way that allows users to build interfaces that are hosted as a panel in Viz would be incredible.

@tynandebold tynandebold moved this to Todo in Kedro-Viz Mar 6, 2023
@yetudada yetudada moved this from Discovery or Research - Now ⏳ to Discovery or Research - Later 🧪 in Roadmap Mar 27, 2023
@tynandebold tynandebold moved this from Todo to Backlog in Kedro-Viz May 2, 2023
@yetudada
Copy link
Contributor Author

Additional things to consider from @NeroOkwa: "Understand VizX solution to reporting use case."

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
Status: Done
Status: Discovery or Research - Later 🧪
Development

No branches or pull requests

3 participants