Naïve Bayes is a simple probabilistic classifier based on applying Bayes' theorem with strong (naïve) independence assumptions. It is trained on a set of labeled examples to estimate the probabilities of classes and predictors. To classify a new example, it computes the probabilities of the example belonging to each of the classes based on the presence or absence of predictors, and assigns it to the class with the highest probability. This allows predicting the probability of an outcome based on certain features, such as using weather and other variables to predict whether someone will play tennis.