Spidy20/Fake_News_Detection

No module named 'sklearn.linear_model.passive_aggressive'

saurabhkumar444 opened this issue · 1 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