I would like to know how to generate a table for feature importance for a specific class using the shap
algorithm?
From the plot above, how to extract the feature importance for just class 6?
and mathematically:
np.allclose(pred, explainer.expected_value[cls] sv[cls][idx].sum())
True