-
Notifications
You must be signed in to change notification settings - Fork 118
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
SHAP values with DeepTables #16
Comments
DT provides Related test cases: |
I've got the SHAP values working with DT. You need a helper function in order to get the feature names back into a dataframe. SHAP takes a pandas dataframe but gives back a numpy array.
|
@gladomat Thank you for your contribution for DT with SHAP. |
I want to use SHAP values (https://github.com/slundberg/shap) to get feature importances. I thought of using the KernelExplainer. The problem that I encouter is that the embeddings of categorical variables are done on the fly. But I can only pass the non-embedded test set. How can I gain access to the embedded data? Is there a way?
The text was updated successfully, but these errors were encountered: