Project - Text Classification

piyushp7pravin

Piyush Pravin

Posted on August 20, 2020

Project - Text Classification

Project Link : https://github.com/piyushP7pravin/Text-Classification

MultinomialNB implements the naive Bayes algorithm for multinomially distributed data, and is one of the two classic naive Bayes variants used in text classification.

I have used Multinomial Naive Bayes algorithm to classify the given text document to different categories.
I have used 20,000 documents from 20 newspaper categories, made dataset from the given documents. Built a Multinomial Naïve Bayes Classifier from Scratch that classifies any test document to one of the 20 categories. Made a comparison report between the results of our Naive Bayes implementation with Sklearn Multinomial Naïve Bayes Classifier.
Overall accuracy seems to be almost same for both cases.

💖 💪 🙅 🚩
piyushp7pravin
Piyush Pravin

Posted on August 20, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related