Naive Bayes Algorithm
Table Of Contents:
- What Is Bayes Theorem?
- What Is Naive Bayes Algorithm?
- Example How Naive Bayes Solves Classification Problem.
(1) What Is Bayes Theorem?
(2) What Is Naive Bayes Algorithm?
(3)Example:
- We need to calculate the probability of Spam and Not Spam.
- We will label the new data points based on the maximum probability between two probability.
- Here X1 and X2 are independent events hence probabilities are multiplied together.
- What Is Total Probability?
(2) Assumption Made By Naive Bayes
- The Naive Bayes algorithm assumes that all features are independent of each other if you already know the class.
- This is called the conditional independence assumption.
(3) How To Avoid The Conditional Probability Loop.

