Skip to content

A Naive Bayes classifier to classify tweets as offensive vs. non-offensive.

Notifications You must be signed in to change notification settings

jordanearnest1/NLP-Naive-Bayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Naive-Bayes

A Naive Bayes classifier to classify tweets as offensive vs. non-offensive.

Tokenizes each tweet by white space, trains to compute P(X = xi), P(Y = yj), and P(X = xi|Y = yi), smooths the weights, and classifies the tokenized document, returning the class with the highest posterior probability for each tweet.

About

A Naive Bayes classifier to classify tweets as offensive vs. non-offensive.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages