Naive Bayes is a probabilistic machine learning algorithm based on the Bayes Theorem, used in a wide variety of classification tasks. In this article, we will understand the Naive Bayes algorithm, some fundamental mathematics of Naive Bayes so that there is no room for doubts in understanding.

In simple words, Naive Bayes based on fundamental of probability and majorly used in classification problem.

Fundamental Mathematics

In this section we will understand the math behind algorithm, mostly asked in interview.

One by one, we will unfold the facts

Conditional Probability

Conditional probability is the probability of event occurring based on the already happened event.


Anubhav Kr. Srivastava

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store