DALEX icon indicating copy to clipboard operation
DALEX copied to clipboard

Check if `shap` accepts `pd.DataFrame` (and for which Explainers)

Open hbaniecki opened this issue 2 years ago • 0 comments

...and possibly remove the conversion from pandas to numpy in ShapWrapper.

Then, explainer.model_info['arrays_accepted'] would become redundant, which in fact fixes https://github.com/ModelOriented/DALEX/issues/507 by making the scikit Pipeline fail gracefully in the downstream package (with an appropriate exception message).

hbaniecki avatar May 11 '22 15:05 hbaniecki