We want to build a naive Bayes sentiment classifier using add-1 smoothing. Here is our training set:
No answer yet for this question.
Ask a Tutor
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 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?
Related Book For
Foundations of Financial Management
ISBN: 978-1259024979
10th Canadian edition
Authors: Stanley Block, Geoffrey Hirt, Bartley Danielsen, Doug Short, Michael Perretta
Posted Date: