Difference feature importance sklearn/shapash #363
-
Dear all, I would like to know if it's normal to have difference between "features importances" sklearn and "features importances" shapash I use a Random Forest model. Thanks for all ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, So yes, the difference is normal between Shapash and Sklearn feature importance |
Beta Was this translation helpful? Give feedback.
Hi,
Sorry for the delay in responding.
In Shapash, feature importance is computed from the sum of the local contributions (compiled by shap by default).
Feature importance is therefore the proportion of the global contributions of the feature.
So yes, the difference is normal between Shapash and Sklearn feature importance