Ciccarelli: Psychology_5 (5th Edition)
5th Edition
ISBN:9780134477961
Author:Saundra K. Ciccarelli, J. Noland White
Publisher:Saundra K. Ciccarelli, J. Noland White
Chapter1: The Science Of Psychology
Section: Chapter Questions
Problem 1TY
icon
Related questions
Question

1

In naïve Bayes sentiment analysis (Positive (P) or Negative (N)), for the following training and test data. Without adding the Laplace smoothing, what is
the likelihood for p("funny"|P)?
Reviews
Training Great movie.
I enjoyed it.
Not a big fan of the movie.
Enjoyed this funny movie.
Test
O 0.15
O 0.03
0.05
O 0.02
O 0.99
O 20%
0.30
0.00
There is no need to calculate the probability for it.
Sentiment Class
P
P
N
?
Transcribed Image Text:In naïve Bayes sentiment analysis (Positive (P) or Negative (N)), for the following training and test data. Without adding the Laplace smoothing, what is the likelihood for p("funny"|P)? Reviews Training Great movie. I enjoyed it. Not a big fan of the movie. Enjoyed this funny movie. Test O 0.15 O 0.03 0.05 O 0.02 O 0.99 O 20% 0.30 0.00 There is no need to calculate the probability for it. Sentiment Class P P N ?
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Ciccarelli: Psychology_5 (5th Edition)
Ciccarelli: Psychology_5 (5th Edition)
Psychology
ISBN:
9780134477961
Author:
Saundra K. Ciccarelli, J. Noland White
Publisher:
PEARSON
Cognitive Psychology
Cognitive Psychology
Psychology
ISBN:
9781337408271
Author:
Goldstein, E. Bruce.
Publisher:
Cengage Learning,
Introduction to Psychology: Gateways to Mind and …
Introduction to Psychology: Gateways to Mind and …
Psychology
ISBN:
9781337565691
Author:
Dennis Coon, John O. Mitterer, Tanya S. Martini
Publisher:
Cengage Learning
Psychology in Your Life (Second Edition)
Psychology in Your Life (Second Edition)
Psychology
ISBN:
9780393265156
Author:
Sarah Grison, Michael Gazzaniga
Publisher:
W. W. Norton & Company
Cognitive Psychology: Connecting Mind, Research a…
Cognitive Psychology: Connecting Mind, Research a…
Psychology
ISBN:
9781285763880
Author:
E. Bruce Goldstein
Publisher:
Cengage Learning
Theories of Personality (MindTap Course List)
Theories of Personality (MindTap Course List)
Psychology
ISBN:
9781305652958
Author:
Duane P. Schultz, Sydney Ellen Schultz
Publisher:
Cengage Learning