-
Notifications
You must be signed in to change notification settings - Fork 43
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
Error when importing eli5 #39
Comments
@leetabix I think you should propose a pull request (PR) with the changes you've already made: it at least will be possible to install the working version of the package from your PR. |
This commit addresses this as well: |
I picked this commit from the following open PR in this repo: |
Hi all! I ran into this error as well. I ended up installing |
Is it possible for me to do something about this? I've stopped using eli5 in my project because I had to update scikit-learn. |
If nobody answers, you may use SHAP values as an alternative: https://github.com/shap/shap That project is currently alive. |
Slight correction to the above. Instead of replacing This is implemented in my fork here |
Any update on this? |
I believe it's safe to say this project is dead. Some fork on this project would be great. |
When creating a virtual environment (using venv) and pip installing eli5 and jupyter lab, I'm unable to import eli5 as I receive the following error in my notebook:
The issue appears to be due to scikit-learn depreciating the if_delegate_has_method decorator (in \Lib\site-packages\sklearn\utils\metaestimators.py) and replacing it with another decorator called available_if.
I've made the following updates to \Lib\site-packages\eli5\sklearn\permutation_importance.py and I'm now able to import the eli5 library:
with
Please let me know if you'd like me to propose the above update for merge.
Thanks,
James
The text was updated successfully, but these errors were encountered: