Skip to content
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

ModuleNotFoundError: No module named 'sklearn.linear_model.logistic' #23

Open
rajraghuwanshi007 opened this issue Jul 27, 2022 · 2 comments

Comments

@rajraghuwanshi007
Copy link

ModuleNotFoundError: No module named 'sklearn.linear_model.logistic' giving error but sklearn is already installed .these are my installed packages:
certifi==2021.10.8 chardet==4.0.0 charset-normalizer==2.0.12 click==8.1.3 colorama==0.4.4 cycler==0.11.0 fonttools==4.34.4 idna==3.3 joblib==1.1.0 kiwisolver==1.4.4 logistics==0.0.7 matplotlib==3.5.2 nltk==3.7 numpy==1.22.2 packaging==21.3 pandas==1.4.1 Pillow==9.2.0 pyparsing==3.0.9 pyperclip==1.8.2 python-dateutil==2.8.2 pytz==2021.3 regex==2022.7.25 requests==2.27.1 scikit-learn==1.1.1 scipy==1.8.1 seaborn==0.11.2 six==1.16.0 tbomb==2.1.2 threadpoolctl==3.1.0 tqdm==4.64.0 urllib3==1.26.9

@mahsanghani
Copy link

their model saved as .sav has an obsolete reference for logistic regression by sklearn, generate your own model by running the jupyter notebook and then save it to root of this project and reference it in prediction.py

@KYSIAMNHAC
Copy link

hi, can you tell in detail how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants