Master LLMs with our FREE course in collaboration with Activeloop & Intel Disruptor Initiative. Join now!


Simple, Good Sentiment Classification
Latest   Machine Learning

Simple, Good Sentiment Classification

Last Updated on July 26, 2023 by Editorial Team

Author(s): Pratish

Originally published on Towards AI.

Sentiment classification using MultinomialNB

This member-only story is on us. Upgrade to access all of Medium.

Photo by Tanner Boriack on Unsplash

In this article, I am taking one of the state-of-the-art papers[1] which takes on classifying sentiments using Multinomial NB. After finishing this article, you would be able to appreciate how techniques as simple as Naive Bayes can be super effective in some of the classification tasks.

In his book[2], Manning et al introduce multinomial Naive Bayes or MNB model, a probabilistic learning method. According to the Naive Bayes, the probability of a document d being in class c is computed as:

Source: Manning, C., Raghavan, P.,… Read the full blog for free on Medium.

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.

Published via Towards AI

Feedback ↓