Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hbaniecki opened this issue May 11, 2022 · 0 comments
Open

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

hbaniecki opened this issue May 11, 2022 · 0 comments
Labels
long term 📆 TODO long term maintenance 🔨 Code enhancements, tests and maintenance Python 🐍 Related to Python

Comments

@hbaniecki
Copy link
Member

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

Then, explainer.model_info['arrays_accepted'] would become redundant, which in fact fixes #507 by making the scikit Pipeline fail gracefully in the downstream package (with an appropriate exception message).

@hbaniecki hbaniecki added long term 📆 TODO long term Python 🐍 Related to Python maintenance 🔨 Code enhancements, tests and maintenance labels May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long term 📆 TODO long term maintenance 🔨 Code enhancements, tests and maintenance Python 🐍 Related to Python
Projects
None yet
Development

No branches or pull requests

1 participant