MAIF / shapash

🔅 Shapash: User-friendly Explainability and Interpretability to Develop Reliable and Transparent Machine Learning Models
https://maif.github.io/shapash/
Apache License 2.0
2.71k stars 331 forks source link

Bug in interaction_plot with a catboost model #511

Closed ThomasBouche closed 6 months ago

ThomasBouche commented 10 months ago
xpl.plot.top_interactions_plot(nb_top_interactions=5)

image

catboost version : 1.2.2 shap version : 0.42.1 shapash version :2.3.7

Python version :3.10

Shapash version :2.3.7

Operating System :Linux

MLecardonnel commented 9 months ago

The error comes from shap that does not compute the interaction values with the catboost method. Corresponding Issue here: https://github.com/shap/shap/issues/3416

MLecardonnel commented 6 months ago

Fix in shap 0.44.1 release : https://github.com/shap/shap/pull/3459