Skip to main content

Bayes Theorem

· One min read
Shaurya Singhal

Source: View original notebook on GitHub

Category: Machine Learning / Learn ML

Bayes Theorem

Naive Bayes Classifier

  • use to detect whether review is +ve , -ve or neutral(sentiments Analysus)
  • use ot classify the category of emails -> promotional,spam,social,inbox
  • use to detect whether email is spam or not. using

What is a classifier?
A classifier is a machine learning model that is used to discriminate different objects based on certain features.

Principle of Naive Bayes Classifier:
A Naive Bayes classifier is a probabilistic machine learning model that’s used for classification task.

Assumption in Naive bayes classifier

- all the features are independent of each other
- if x = <x1,x2,x3,.....,xn>
- then P(X|Y) = P(x1,x2,x3,..,xn|Y) = P(x1|Y)P(x2|Y)P(x3|Y).....P(xn|Y)

Extra 1


Extra 2


Extra 3