Naive Bayes: Concepts and Code @statquest
Naive Bayes: Concepts and Code  @statquest
Uploaded September 2026 | Updated November 2026, 50 minutes ago
Sign up for FREE Concepts and Code Classes at: live.statquest.org/masterclasses

ALSO, you can download the files associated with this concepts and code livestream here: github.com/StatQuest/concepts_and_code_naive_bayes

DOUBLE ALSO, enrollment is now OPEN for our first StatQuest Machine Learning Workshop!

We'll spend five days diving into the fundamentals of machine learning, breaking down everything from linear regression and decision trees to random forests and neural networks.

Learn more at live.statquest.org/statquest-introduction-to-machine-learning

In this Concepts and Code Livestream, we go over the theory of Naive Bayes and then build a Naive Bayes Classifier in R and Python. DOUBLE BAM!!!

If you'd like to support StatQuest, please consider...
Patreon: patreon.com/statquest
...or...
YouTube Membership: youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join

...buying a book, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...
statquest.org/statquest-store

...or just donating to StatQuest!
paypal: paypal.me/statquest
venmo: @JoshStarmer

Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
twitter.com/joshuastarmer

0:00 Introduction and general silliness
4:37 Classic Naive Bayes (Multinomial)
21:57 Gaussian Naive Bayes
33:44 Questions!
37:24 Coding a Naive Bayes Classifier with AI
1:07:47 A special silly song for Scotland
1:09:17 More questions!!

#StatQuest
Naive Bayes: Concepts and CodeLinear Discriminant Analysis (LDA): Concepts and CodeStochastic Gradient Descent, Clearly Explained!!!Machine Learning Fundamentals: Sensitivity and Specificityp-values: What they are and how to interpret themWord Embedding and Word2Vec, Clearly Explained!!!Population and Estimated Parameters, Clearly Explained!!!Human Stories in AI: Abbas Merchant@Matics AnalyticsThe Chain Rule, Clearly Explained!!!Linear Regression in R, Step by StepThe Exponential DistributionNeural Networks Part 7: Cross Entropy Derivatives and Backpropagation
StatQuest with Josh Starmer |

Naive Bayes: Concepts and Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER