-
Notifications
You must be signed in to change notification settings - Fork 22
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.prep not working when dealing with multiclass classification problems #35
Comments
I receive the same error above after running this command for multiclass classification with a XGBoost model:
If I use the package fastshap with a similar line of code:
I receive this error:
While fastshap is running fine on binary classification. I don't know what can be the cause. |
Same issue here. Multiclass model. |
One way this can happen is if there are extra arguments passed into your call to |
Hi! I fit a multiclass classification XGBoost model and try to generate the plot of shapley values using shap.prep and then shap.plot.summary. However, I'm getting the following error when using shap.prep
I was wondering whether there was a bug here. Thank you.
The text was updated successfully, but these errors were encountered: