Speech and Language Processing: Naive Bayes and Sentiment Classification (pages 3, 4, 7, 8)
Think you've got it?
Naive Bayes and Sentiment Classification Review Assignment
1.Construct a bag-of-words feature matrix for the following email: "Hi, Dan. Are we still on for Tuesday? We can meet for coffee or we can meet at my office. Best, Alec"
2.What assumptions are made by a Naive Bayes classifier?
3.Consider a Naive Bayes model with the parameters provided in Figure A. How would this model classify the following sentence: "This morning was freezing cold."
4.How are Naive Bayes classifiers trained?
5.What is a prior probability?
6.What is a "bag-of-words"?
7.What's the difference between multilabel and multinomial text classification?