-
Notifications
You must be signed in to change notification settings - Fork 718
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
Plotting Questions #10
Comments
Hi Brian, Thanks for the questions! We'll work backwards through the questions as they're all related:
You're right, the only difference is the drop down -- it just makes it a little easier to find the features you're looking for. If you call show with a list (ex: show([explanation]) it will launch a dashboard to enable comparisons. What errors are you running into with the show method?
Yes, you can. Every explanation object supports a .data() method, which returns the raw data used to generate the visualization. So in your example, you can call
Right now, our built in "summary" visualization only includes the top features, but you can easily call |
That's fantastic! I wont stress much about the issues with show in my environment then. Last plotting questions, any plans in the roadmap to generate the feature shape curves with a local value highlighted (a vertical line) as in the original Ga2M paper? |
We don't have plans to support this directly in the code right now, but you can manipulate the Plotly objects with a bit of code to add it in. Here's a quick example:
which will produce this: You can play around with the style and shape of the line quite a bit -- here's the documentation for the plotly shapes API: https://plot.ly/python/shapes/ |
All-
I fit a model :
ebm.fit(X,y)
. Then I am able to see overall feature importance running:Question 1: Is there a way to see more than the default top features?
Then if we pass an index into visualize, we get the shape of the effect of that feature:
plotly_py.iplot(ebm_global.visualize(0))
I can see local explanations:
QUESTION 2: IS it possible to get this data back and not plot it?
Question 3:
How does the above differ from show()? I have been unable to get this to work but it looks like the only difference is a drop down selector?
The text was updated successfully, but these errors were encountered: