Skip to content

shrestha-bikash/Naive-Bayes-Text-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

In this project you will implement a solution to a text mining 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 keywordcounts, 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 usingrandomly chosen sentences from,for example, your textbooks, works of fiction, or news. Use the Naïve Bayes approach. Please do not solve this problem by using ready-made stuff from any software package / platform.

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

About

Text classification with Naive Bayes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published