Naive Bayes, Clearly Explained

Solving the iris dataset with a gaussian approach in scikit-learn.

Yoann Mocquin
Towards Data Science
10 min readMar 2, 2024

--

In this post, we’ll delve into a particular kind of classifier called naive Bayes classifiers. These are methods that rely on Bayes’ theorem and the naive assumption that every pair of features is conditionally independent given a class label. If this doesn’t make sense to you, keep reading!

As a toy example, we’ll use the well-known iris dataset (CC BY 4.0 license) and a specific kind of naive Bayes classifier called Gaussian Naive Bayes…

--

--