implementing the PermutationExplainer
While implementing shap.PermutationExplainer, I used a simple numpy.array as a masker (as is suggested in the documentation). However, when I tried to implement the shap_values method for this explainer I got the error:
SHAP: implementing the PermutationExplainer
While implementing shap.PermutationExplainer, I used a simple numpy.array as a masker (as is suggested in the documentation). However, when I tried to implement the shap_values method for this explainer I got the error: