# Naïve Bayes

Learn about the Bayes' theorem and its application in the Naive Bayes classifier.

## We'll cover the following

This Naive Bayes technique is based on probabilities. The probability of an event happening or not happening can be calculated using past data.

Consider the problem of predicting the temperatures for next week using the current temperature. This seems very difficult. However, if you have the last five or ten years of temperature data, you can do this more efficiently and with higher accuracy. The Naïve Bayes algorithm is based on this concept.

Here we will provide some examples for probability and move forward toward building the algorithm.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.