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

image text in transcribed

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 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

Principles Of Topology

Authors: Fred H Croom

1st Edition

0486810445, 9780486810447

More Books

Students also viewed these Mathematics questions