Learn Before
Relation
Logistic Regression v.s. Naive Bayes in NLP Classification Tasks
When there are many correlated features, logistic regression will assign a more accurate probability than naive Bayes, because logistic regression will distribute the weights of correlated features, while naive Bayes will multiply both features and overestimating the evidence. In general, logistic regression works better on larger documents. On the other hand, naive Bayes works extremely well on very small datasets, and it can still make correct classification decision.
0
1
Updated 2021-10-03
Tags
Natural language processing
Data Science