Skip to content
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

[EPIC, Sim plot] Port streamlit -> Dash #906

Closed
4 tasks done
trentmc opened this issue Apr 16, 2024 · 1 comment
Closed
4 tasks done

[EPIC, Sim plot] Port streamlit -> Dash #906

trentmc opened this issue Apr 16, 2024 · 1 comment
Assignees
Labels
Type: Enhancement New feature or request

Comments

@trentmc
Copy link
Member

trentmc commented Apr 16, 2024

Background / motivation

Coming into this issue, we have already converted matplotlib plots to streamlit.

Now, our goal is: In var importance plot: click on a bar (for a var), and show response vs. var. And, that's a "canary in the mine" for other future interactivity

What: In SimEngine's var importance plot: click on a bar (for a var), and show 1d response vs. var. (We already have the response vs var plot; it shows up when we have just 1 input var)

Bonus: select & click on 2 vars, then it shows 2d response vs var (ie contour plot; which we already have too)

The challenge: input from one streamlit plot interacting with another. There are probably a few ways to do this. It will be useful to explore them, because we will want to repeat the pattern elsewhere.

Update: from initial experiments, the solution was to port from streamlit to Dash. That's what this github issue ended up being about.

TODOs

  • Explore ways to do it, with mini tech spikes etc
  • Choose a way. Do it. (Chosen way: port streamlit -> dash. This issue's description was updated accordingly.)
  • in predictoor bot analytics: (ideally) plot sim var importance plot, response surface contours & 1d. This won't be easy, because that data isn't available on chain, so we need to expose it somehow for the analytics tool to see. (With proper privacy: I can only see that info for my predictoor bot, and any other bot that has shared with me.)
  • in predictoor bot analytics: in var. importance plot: click on a bar (for a var), and show response vs. var.
@trentmc trentmc added the Type: Enhancement New feature or request label Apr 16, 2024
@calina-c calina-c self-assigned this Apr 24, 2024
@trentmc trentmc changed the title [SimEngine plot] In var importance plot: click on a bar (for a var), and show response vs. var [Sim plot] Convert streamlit -> Dash Apr 30, 2024
@trentmc trentmc changed the title [Sim plot] Convert streamlit -> Dash [EPIC, Sim plot] Convert streamlit -> Dash Apr 30, 2024
@trentmc trentmc changed the title [EPIC, Sim plot] Convert streamlit -> Dash [EPIC, Sim plot] Port streamlit -> Dash Apr 30, 2024
@trentmc
Copy link
Member Author

trentmc commented Apr 30, 2024

I think this is now done. Closing. @calina-c please re-open if something is missed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants