You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
explanations of only the most probable classes according to the model are returned. And, by removing outputs, the explanations on all classes are calculated.
What if I wanted to compute explanations only on the true classes of the dataset?
There is shap.Explanation.output_indexes in the documentation, but it's not clear how to use it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I would like to calculate the explanations of the target classes only. I know this:
explanations of only the most probable classes according to the model are returned. And, by removing outputs, the explanations on all classes are calculated.
What if I wanted to compute explanations only on the true classes of the dataset?
There is shap.Explanation.output_indexes in the documentation, but it's not clear how to use it.
Beta Was this translation helpful? Give feedback.
All reactions