Naïve Bayes is a probabilistic machine learning algorithm that can be used in a wide variety of classification tasks. Typical applications include filtering spam, classifying documents, sentiment prediction etc. Naïve Bayes classifiers are a popular statistical technique of email-filtering. Bayes Rule P (H | E) = (P (E | H))/(P (E)) × P (H).