BUG: Unexpected Interaction Plot Instead of Summary Plot in Multiclass SHAP Summary with XGBoost #3630
Open
2 of 4 tasks
Labels
bug
Indicates an unexpected problem or unintended behaviour
Issue Description
When attempting to use SHAP with an XGBoost multiclass classification model to generate summary plots, the output unexpectedly appears as an interaction plot rather than the anticipated summary plot. This issue occurs when trying to visualize the SHAP values for all classes simultaneously.
Minimal Reproducible Example
Traceback
No response
Expected Behavior
The expected outcome is a summary plot that shows the feature importance for all classes in a clear and aggregated manner.
Bug report checklist
Installed Versions
SHAP version: 0.45.0
Python version: 3.10.12
XGBoost version: 2.0.3
Operating System: Google Colab Pro
The text was updated successfully, but these errors were encountered: