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

alternative shap.visualize #20

Closed
kodonnell opened this issue Jan 20, 2018 · 5 comments
Closed

alternative shap.visualize #20

kodonnell opened this issue Jan 20, 2018 · 5 comments
Labels
stale Indicates that there has been no recent activity on an issue

Comments

@kodonnell
Copy link
Contributor

I think it looks awesome, but it did somewhat confuse me, e.g.:

  • I got directions wrong. The things that increase the prediction are on the 'negative' side of the graph. (I think.)
  • I wasn't sure if the arrows were overlapping or stacked. Either way, it's hard to compare multiple variables. (If it's interactive, then that's OK, but it's of less use for e.g. a printed copy, or in a PPT).

So possibly you could provide different plot styles, as per summary_plot. The obvious example is a horizontal bar chart, though you can do prettier things with e.g. scatters. That said, these will be less pretty when there are many features.

Just a thought - of course, we can always do our own. (I am quite happy with a printed list!)

@slundberg
Copy link
Collaborator

Fair suggestion. The reason things that increase a prediction are on the left side pushing right is that otherwise things will go off the plot for large predictions (if we want to keep the baseline in view)

If there are useful and non-trivial alternatives I would be happy to include them to help make the SHAP values easier to communicate.

@kodonnell
Copy link
Contributor Author

Great. I'll have a think, and forward this on to some others interested. We could do some really awesome d3 visualizations, though that'd be more work. Will leave this open if someone else wants to pick it up for a PR.

@ShaikhIrshadSij
Copy link

Is this visualizations done in this is done by D3.js in backend?

dwolfeu pushed a commit to dwolfeu/shap that referenced this issue May 22, 2023
Remove remaining usages of the boston dataset.
Copy link

github-actions bot commented Dec 8, 2023

This issue has been inactive for two years, so it's been automatically marked as 'stale'.

We value your input! If this issue is still relevant, please leave a comment below. This will remove the 'stale' label and keep it open.

If there's no activity in the next 90 days the issue will be closed.

@github-actions github-actions bot added the stale Indicates that there has been no recent activity on an issue label Dec 8, 2023
Copy link

github-actions bot commented Mar 8, 2024

This issue has been automatically closed due to lack of recent activity.

Your input is important to us! Please feel free to open a new issue if the problem persists or becomes relevant again.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Indicates that there has been no recent activity on an issue
Projects
None yet
Development

No branches or pull requests

3 participants