Introduction to Naive Bayes' algorithm

The Naive Bayes (NB) classifier is a very powerful algorithm for the classification task. NB is very good in cases where we use natural language processing for text analytics. As with the name, Naive means independent or no relation, and the NB algorithm assumes that there is no relation between features. As its name suggests, it works on Bayes' theorem.

So what is Bayes' theorem? Bayes' theorem finds out the probability of an event in the future based on events that have already occurred. This type of probability is also called conditional probability. This probability is context-based and context is determined by a knowledge of events that have already occurred. 

The following is mathematical expression ...

Get Artificial Intelligence for Big Data now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.