Spidy20 / Fake_News_Detection

Fake News Classification WebApp using Flask & Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'sklearn.linear_model.passive_aggressive'

saurabhkumar444 opened this issue · comments

loaded_model = pickle.load(open('model.pkl', 'rb'))
ModuleNotFoundError: No module named 'sklearn.linear_model.passive_aggressive'
image
image

Its not passive_aggressive. It's passive aggressive classifier.

kindly find the link attached useful.

https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.PassiveAggressiveClassifier.html