Reusing the Model
tahmid75 opened this issue · comments
Md Tahmid Hossain commented
What happens when you train the model in one file and try to use it from another in another time. looks like the code needs the variable "words" created in the nested loop to predict the class.
Akshay Pai commented
Actually, the script here is doing both, training and classification. Ideally, you wouldn't need the words to just predict.
I have implemented it and you can use the model trained at one place and use it in another.
Akshay Pai commented
closing due to inactivity