Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( a ) The following text sentences were taken from various reviews of products together with whether the review was positive or negative. table

(a) The following text sentences were taken from various reviews of products together with whether the review was positive or negative.
\table[[Review text,tag],['A great product, must buy',positive],['Different than the description',negative],['The product delivered quickly',positive],['Good condition',positive],['The product stopped working quickly',negative],['The product was faulty',negative]]
Suppose we are given a review with text 'Must buy quickly, inaccurate description', but we are not told whether the review was positive or negative. We would like to use a Naive Bayes classifier to decide whether to record the review as positive or negative.
i. What would be the recommendation of the Naive Bayes classifier using maximum likelihood? Provide a justification for your answer.
ii. Repeat part i., using Laplace smoothing with =1
iii. Suggest two potential ways to improve predictive performance.
NOTE-PLEASE INCLUDE ALL THE CALCULATIONS! And if possible please give handwritten answer.
image text in transcribed

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

More Books

Students also viewed these Databases questions