Question: We want to build a naive Bayes sentiment classifier using add-1 smoothing. Here is our training set: - the movie has no plot - honestly
We want to build a naive Bayes sentiment classifier using add-1 smoothing. Here is our training set:
- the movie has no plot
- honestly pretty boring
+ pretty interesting movie
Test Set:
pretty enjoyable plot
Answer the questions below given the sets above:
- Compute the prior for the two classes + and -, and the likelihoods for each word given the class (leave in the form of fractions).
- Would using binary multinomial Naive Bayes change anything?
Step by Step Solution
There are 3 Steps involved in it
Sure lets work through the problems step by step Step 1 Compute the Priors for the Classes and 1 Count the documents in each class Positive class 1 do... View full answer
Get step-by-step solutions from verified subject matter experts
