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:

  1. Compute the prior for the two classes + and -, and the likelihoods for each word given the class (leave in the form of fractions).
  2. Would using binary multinomial Naive Bayes change anything?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

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

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!