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

How to calculate shapley values for HSTreeClassifier #202

Open
victor-ML opened this issue Apr 11, 2024 · 0 comments
Open

How to calculate shapley values for HSTreeClassifier #202

victor-ML opened this issue Apr 11, 2024 · 0 comments

Comments

@victor-ML
Copy link

victor-ML commented Apr 11, 2024

In figure 6 from the paper SHAP summary plots are created for HSTreeClassifier and compared against those from sklearn's RandomForestClassifier. That's exactly what I want to do. However when I plug it to the TreeExplainer I get:

InvalidModelError: Model type not yet supported by TreeExplainer: <class 'imodels.tree.hierarchical_shrinkage.HSTreeClassifier'>

I did my best to search in the repo for some kindof shap wrapper and found nothing. Help? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant