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
I was mainly reading your medium post. I tried to code accordingly but faced an error: "CountVectorizer: Vocabulary wasn't fitted". As I was using the saved model.
You skipped the part that we also have to save the CountVectorizer's fitted vector. I resolved my issue by following this link -> https://stackoverflow.com/questions/45674411/load-pickle-file-for-counvectorizer
It wiil be really helpful for others if you can update your project or I can do a pull request.
The text was updated successfully, but these errors were encountered:
Hi @Himanshu081,
You can visit my repo for this - https://github.com/jabertuhin/sms-spam-detector-webapp
I worked on this project quite a time ago. So, if you can manage to understand my solution from the code I shared, it will be great.
Otherwise share you doubts, I will try to explain those to you later.
I was mainly reading your medium post. I tried to code accordingly but faced an error: "CountVectorizer: Vocabulary wasn't fitted". As I was using the saved model.
You skipped the part that we also have to save the CountVectorizer's fitted vector. I resolved my issue by following this link -> https://stackoverflow.com/questions/45674411/load-pickle-file-for-counvectorizer
It wiil be really helpful for others if you can update your project or I can do a pull request.
The text was updated successfully, but these errors were encountered: