Skip to content

Tutorial using Flask to display SHAP force plots via HTML iframes

Notifications You must be signed in to change notification settings

zY2EZHVByG/shaphtml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial on displaying SHAP force plots in Python HTML

How to render SHAP force plots on your web application. My solution is in Flask, but hopefully the approach can fit your needs.

Read the blog post

  • Only works for force plots
  • Example result:

example result


Steps to reproduce:

  • run app.py
  • see localhost result

About

Tutorial using Flask to display SHAP force plots via HTML iframes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 42.9%
  • HTML 36.2%
  • JavaScript 20.9%