-
Notifications
You must be signed in to change notification settings - Fork 332
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
Future Warning Error #360
Comments
I get the same too, it's because of upgrading to scikit-learn 0.22.x. You can suppress it like: warnings.filterwarnings('ignore', category=FutureWarning,
module='sklearn.utils.deprecation')
# all ELI5 imports here
from eli5 import explain_weights, explain_prediction
warnings.filterwarnings('always', category=FutureWarning,
module='sklearn.utils.deprecation') |
I get this exception when using eli5 as installed from pypi
If anyone else got this error after using a fresh install of eli5, you can fix by running |
It's relevant not only for new user, but for every user, which occasionaly update scikit learn to its last version. |
please fix this asap; it is not a fix to use an old version of sklearn which contains issues which are fixed in 0.24. PR is #397 |
A fix so that eli5 could be used with scikit-learn 0.24 would be really appreciated, thanks. |
Hi folks, sorry for lack of activity here, I really hope we can get all the fixes and hopefully some features merged in Jan, we need to also update the CI and do some other house-keeping. |
Started receiving the following message after a few updates. Sklearn access in upcoming versions should only be through their public api.
FutureWarning: The sklearn.metrics.scorer module is deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes / functions should instead be imported from sklearn.metrics. Anything that cannot be imported from sklearn.metrics is now part of the private API. warnings.warn(message, FutureWarning)
FutureWarning: The sklearn.feature_selection.base module is deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes / functions should instead be imported from sklearn.feature_selection. Anything that cannot be imported from sklearn.feature_selection is now part of the private API. warnings.warn(message, FutureWarning)
The text was updated successfully, but these errors were encountered: