-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Bug when using xgb_model.pred(pred_interactions=True)
#464
Comments
Does anything change when you use |
I'm posting the result of combinations.
I'll stick to the second combination of arguments, but I think the result of parameter combination is unpredictable. Hope to be fixed for better usability. |
I suspect that the problem occurs when I use |
Sorry for the slow reply. This is an issue inside XGBoost, and it looks like |
I have the same issue while I am calling the "explainer.shap_values(test_df)". In my case, the model was built using CLI version of Xgboost and loaded using booster.load_model() |
Hi, This issue is resolved, after a work around.. but, can you help me , How do I calculate |
As suggested in #452 I'm now trying to use the native functionality of xgboost to get the SHAP importance and interaction. I'm posting here presuming the shap team is involved in adding shap into xgboost library.
Problem
I get the following error when I use
pred_interactions=True
to get the feature interaction.The text was updated successfully, but these errors were encountered: