Why can't we use other classifiers for text classification?

after converting the words into numbers, why naive bayes is preferred over other classifiers like linear regression or logistic regression when they can also do the same thing ie. classification.

Hey @muditarya31, there is no such rule which says that you cannot use any other classifier for text classification. It’s just that the naive approach usually gives better performance as compared to other classification algorithms. You are free to experiment with other classifiers as well. Do observe the results and you would yourself understand the answer to your question :blush:

I hope this helps ! :+1:
Please mark the doubt as resolved in your doubts section ! :slight_smile:
Happy Learning !