First time here? Checkout the FAQ!
x
+2 votes
2.7k views
asked in Machine Learning by (115k points)  

We want to use Naive Bayes for tagging documents. It is a classification task that we want to assign a class (tag) to each string. We currently have two tags: Sport and Not Sport

Which tag does the sentence A very close game belong to? Using Naive Bayes classifier, calculate the class probability for Sport and Not sport for this sentence based on the dataset and decide about the tag.

Text Tag
“A great game” Sports
“The election was over” Not sports
“Very clean match” Sports
“A clean but forgettable game” Sports
“It was a close election” Not sports
  

1 Answer

0 votes
answered by (115k points)  
selected by
 
Best answer

The solution is provided in this url. The classifier will assign Sport for the tag of "A very close game".

...