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 ! |
Answered by
ThomasBouche
Aug 3, 2022
Replies: 1 comment
|
Hi, So yes, the difference is normal between Shapash and Sklearn feature importance |
0 replies
Answer selected by
Redflyo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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