You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
sklearn.version
'0.22'
from sklearn.preprocessing import Imputer
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'Imputer' from 'sklearn.preprocessing' (/Users/fengli/go/src/github.com/kubeflow/venv/lib/python3.8/site-packages/sklearn/preprocessing/init.py)
What did you expect to happen:
No Error
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Search from Google, Imputer was deprecated in version 0.20 and will be removed in 0.22. Import impute.SimpleImputer from sklearn instead.
Issue-Label Bot is automatically applying the label kind/bug to this issue, with a confidence of 0.93. Please mark this comment with 👍 or 👎 to give our bot feedback!
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
Following the steps in https://github.com/kubeflow/fairing/tree/master/examples/prediction
Error appeard during import Imputer
What did you expect to happen:
No Error
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Search from Google, Imputer was deprecated in version 0.20 and will be removed in 0.22. Import impute.SimpleImputer from sklearn instead.
Environment:
python -c "import kubeflow.fairing; print(kubeflow.fairing.__version__)"
):kubectl version
):/etc/os-release
):NOTE: If you are using fair from master, please provide us the git commit hash.
The text was updated successfully, but these errors were encountered: