pplonski / my_ml_service

My Machine Learning Web Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: No module named 'sklearn.preprocessing.label'

hyrmet opened this issue · comments

Exception while loading the algorithms to the registry, No module named 'sklearn.preprocessing.label'

Dear hyrmet,

I think you are using a newer version of scikit learn which had several changes, try to use the same version as the author (scikit-learn==0.21.3) , and check if that helps. You can also read this post in stackoverflow: https://stackoverflow.com/questions/60305098/modulenotfounderror-no-module-named-sklearn-preprocessing-data

commented

@tilias-um5s you are right, that might be a solution.