AIX360 icon indicating copy to clipboard operation
AIX360 copied to clipboard

Faithfulness metric on imags explanations

Open dsvrsec opened this issue 5 years ago • 3 comments

Can the faithfulness metric can be used as a metric for explanations obtained using LIME or SHAP.

dsvrsec avatar Sep 17 '20 15:09 dsvrsec

Yes. It can used for any feature based local explainability method.

sadhamanus avatar Sep 17 '20 15:09 sadhamanus

@sadhamanus what dose it means when faithfulness_metric gave me 'nan' while using SHAP and LIME for explaining a Tabular data ? and thanks

Nadiatriki avatar Nov 29 '21 09:11 Nadiatriki

Hard to say exactly but the metric just computes correlation so either the feature importance are all the same or the prediction of your model hasn't changed when setting each feature to base value. In either of these cases it means all features are equally unimportant. Another possibility could be model outputting nans for different inputs it tries by setting each feature individually to base values.

sadhamanus avatar Nov 29 '21 13:11 sadhamanus