Skip to content

Interactive Figures for Model Explanation with Shap and Plotly

License

Notifications You must be signed in to change notification settings

boyzhang666/shap-interactive-plots

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shap-interactive-plots

SHAP is a useful model interpretation tool that provides a variety of visualization methods. However, most of the plots in SHAP are drawn with matplotlib, which is neither interactive nor easy to modify.

This project reimplements these images with Poltly, in which way model interpretation diagrams can be embedded in web pages as interactive, customizable components.

Features

  • waterfall
  • local dependence
  • summary (beeswarm)
  • decision
  • dependence (scatter)

Not all drawing details have been implemented

Testing

pip install -r requirements_dev.txt

pytest test/testall.py

About

Interactive Figures for Model Explanation with Shap and Plotly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%