TeamHG-Memex / eli5

A library for debugging/inspecting machine learning classifiers and explaining their predictions
http://eli5.readthedocs.io
MIT License
2.75k stars 331 forks source link

Does not support scikit-learn=1.3.0 #425

Open pokotylo opened 1 year ago

pokotylo commented 1 year ago

Cannot import eli5 after upgrading scikit-learn:

import eli5

File ".../python3.9/site-packages/eli5/sklearn/permutation_importance.py", line 7, in <module>
    from sklearn.utils.metaestimators import if_delegate_has_method
ImportError: cannot import name 'if_delegate_has_method' from 'sklearn.utils.metaestimators'

scikit-learn=1.3.0 eli5=0.13.0 python 3.9

DamaKubu commented 1 year ago

yeah same error

ImportError: cannot import name 'if_delegate_has_method' from 'sklearn.utils.metaestimators' (/home/virtualbook/lib/python3.11/site-packages/sklearn/utils/metaestimators.py)
SantaTitular commented 8 months ago

Same here, any news?

stikpet commented 7 months ago

Still the same error, any fixes?

ElrondL commented 6 months ago

Same here!!!

wecounts commented 4 months ago

same here! wait for answers

krol88 commented 3 months ago

Always the problem, so I can't use it... It seems easy to fix why wouldn't you do it ? Pleaaase :-)

chocolatmint commented 3 months ago

same for me!