Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Imagine that you have been given a dataset of 1,000 documents that have been classified as being about entertainment or education. There are 700 entertainment

Imagine that you have been given a dataset of 1,000 documents that have been classified as being about entertainment or education. There are 700 entertainment documents in the dataset and 300 education documents in the dataset. The tables below give the number of documents from each topic that a selection of words occurred in.

Using a nave Bayes classifier, what is the predicted classification for the following query documents (with only one sentence) (6 points)

a) "machine learning is fun"

b) "christmas family fun"

Data given in the photo attached

image text in transcribed
4. [Naive Bayes Classifier] Imagine that you have been given a dataset of 1,000 documents that have been classified as being about entertainment or education. There are 700 entertainment documents in the dataset and 300 education documents in the dataset. The tables below give the number of documents from each topic that a selection of words occurred in. Dataset Word-document counts Fun Is Machine Christmas Family Learning entertainment 415 695 35 60 400 70 education 200 295 120 20 10 105 Using a naive Bayes classifier, what is the predicted classification for the following query documents (with only one sentence) (6 points) a) "machine learning is fun" b) "christmas family fun" (No points will be given if no calculation is provided.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Managerial Accounting

Authors: Karen W. Braun, Wendy M. Tietz

7th Edition

0137858515, 9780137858514

Students also viewed these Mathematics questions