A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

0

A rule of thumb is to train a machine learning model you need data points, as much as ten times your model parameters.


1

That would depend on the exact goal of the task and the specifics of the dataset, but in general I would say that it's always better to use the information specifically provided with the data if it's relevant for the task. In this case the rating for the product is indeed very likely to reflect the sentiment of the text, so I would go with it. Notice that ...


0

Yes outlier affect naive bayes. If a word that comes in testing data that has not been seen in training leads to zero probab of that particular word in the particular class. And we know in naive bayes we multipy probab of words lying in that particular class and results zero..that leads to wrong result so thats why we have laplace smoothing in naive bayes.. ...


Top 50 recent answers are included