Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The problem is to classify a document (that is, a given amount of text) as belonging to either computer science (CS) or non-CS. (This problem

The problem is to classify a document (that is, a given amount of text) as belonging to either computer science (CS) or non-CS. (This problem has applications in many areas, such as filtering email spam from non-spam.) For simplicity, our document for this project will consist of just a single sentence or part of a sentence (e.g., a phrase or a clause). Decide on a number of keywords in advance, and then represent a document as a vector of those keyword counts, where each component of the vector is integer-valued, representing the count (frequency) of the corresponding keyword in the document. Use a supervised learning scenario. You will create (choose) your own training and test data (creating the data is an important exercise). Create data by using randomly chosen sentences from, for example, your textbooks, works of fiction, or news. Use the Nave Bayes approach. Case I: The keyword counts in a document vector are each binary (1 or 0, representing presence or absence of that keyword in the document). Case II: The keyword counts are positive integers (possibly including zero).

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

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions

Question

8. Set goals that relate to practice as well as competition.

Answered: 1 week ago