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

Import Error: cannot import name 'Kernel' #48

Open
v195047 opened this issue Oct 19, 2023 · 2 comments
Open

Import Error: cannot import name 'Kernel' #48

v195047 opened this issue Oct 19, 2023 · 2 comments

Comments

@v195047
Copy link

v195047 commented Oct 19, 2023

Hello, i'm working on a project using timeSHAP (timeshap==1.0.4) and i'm getting ImportError when:

from timeshap.explainer import local_report

It says:

ImportError: cannot import name 'Kernel' from 'shap.explainers._kernel'

My shap version is (shap==0.43.0). Thanks in advance

@OverGreenWaters
Copy link

had the same issue.
had to downgrade the shap version (e.g. 0.37.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants