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

Add shap support for linear models #69

Merged

Conversation

anilkumarpanda
Copy link
Contributor

  • Add support for SHAPley value calculation for linear models. The current setup does not support models like `SVC(kernel='rbf') or KNeighborsClassifier or is very slow. I will create a separate issue for adding that.
  • Upgraded shap version to 0.38.1

Copy link
Collaborator

@Matgrb Matgrb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, I suggested a couple of small adjustments, let me know what do you think about them

docs/tutorials/nb_shap_feature_elimination.ipynb Outdated Show resolved Hide resolved
docs/tutorials/nb_shap_feature_elimination.ipynb Outdated Show resolved Hide resolved
docs/tutorials/nb_shap_feature_elimination.ipynb Outdated Show resolved Hide resolved
@anilkumarpanda
Copy link
Contributor Author

Resolves #61 as well.

Copy link
Collaborator

@Matgrb Matgrb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Thanks for implementing this!

Left a small comment, but apart from that ready to merge.

docs/tutorials/nb_shap_feature_elimination.ipynb Outdated Show resolved Hide resolved
@Matgrb Matgrb merged commit ebbb4ae into ing-bank:main Feb 17, 2021
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

Successfully merging this pull request may close these issues.

None yet

3 participants