Naive Bayes Basics
Lesson Introduction
Hey there! Today we are going to explore an exciting topic in machine learning called Naive Bayes. By the end of this lesson, you'll understand what Naive Bayes is and how to implement it using Python's Scikit-Learn library. Let’s dive in!
Understanding Naive Bayes
How Naive Bayes Learns
Naive Bayes updates its likelihoods and priors using the training data. When the model encounters new data, it breaks the data into its constituent features and applies Bayes' Theorem to calculate the class probabilities. The class with the highest probability is the predicted class.
We will focus on GaussianNB, commonly used when features are continuous and assumed to follow a normal (Gaussian) distribution.
