Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read section 4.4 of the text book, then complete question 4.3 and answer the following questions For the multinomial naive bayes classifier (the normal one):

Read section 4.4 of the text book, then complete question 4.3 and answer the following questions

For the multinomial naive bayes classifier (the "normal" one):

What is P("good" | pos) ?

What is P("poor" | neg) ?

For the binarized naive bayes classifier :

What is P("great" | pos)?

What is P("good" | neg)?

The section it wants you to read ->

image text in transcribed

Train two models, multinomial naive Bayes and binarized naive Bayes, both with add-1 smoothing, on the following document counts for key sentiment words, with positive or negative class assigned as noted. doc "good" "poor" "great" (class) dl. 3 0 3 pos d2.0 1 2 pos d3.1 3 0 neg d4.1 5 2 neg d5.0 2 0 neg Use both naive Bayes models to assign a class (pos or neg) to this sentence: A good, good plot and great characters, but poor acting. Train two models, multinomial naive Bayes and binarized naive Bayes, both with add-1 smoothing, on the following document counts for key sentiment words, with positive or negative class assigned as noted. doc "good" "poor" "great" (class) dl. 3 0 3 pos d2.0 1 2 pos d3.1 3 0 neg d4.1 5 2 neg d5.0 2 0 neg Use both naive Bayes models to assign a class (pos or neg) to this sentence: A good, good plot and great characters, but poor acting

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

3540416641, 978-3540416647

More Books

Students also viewed these Databases questions

Question

2. What process will you put in place to address conflicts?

Answered: 1 week ago