
Naive Bayes classifier
15
MENTIONS
5
EPISODES
2
PODCASTS
Search complete. 15 mentions across 5 episodes found for "Naive Bayes classifier".
Nov 3, 2026
Bayesian Networks 7 - Supervised Learning | Stanford CS221: AI (Autumn 2021)
P
18:11Percy LiangHOST
So let's look at some other Bayesian networks with parameter sharing.
P
18:16Percy LiangHOST
So we already looked at the Naive Bayes before, but just to anchor it in this notation, we have some, let's say we have a genre and we have a movie review, and we have a Bayesian network which generates each word independently conditioned on the genre.
P
18:39Percy LiangHOST
And so the joint distribution over everything is equal to probability under genre of Y times for each word, the probability of a particular word given Y.
P
18:54Percy LiangHOST
So the parameters of this Bayesian network are the genre and P word.
12 MINS LATER
P
31:08Percy LiangHOST
So secondly, we looked at the maximum likelihood principle, which is this kind of high-minded principle that says maximize the likelihood of your data.
P
31:18Percy LiangHOST
And we show that this is equal to this very a pragmatic and simple intuitive principle of counting and normalizing.
P
31:28Percy LiangHOST
And this is the simplicity which makes Bayesian networks, especially Naive Bayes, still very practical, useful, and interpretable.
P
31:37Percy LiangHOST
That's the end.
Bayesian Networks 3 - Probabilistic Programming | Stanford CS221: AI (Autumn 2021)
P
12:07Percy LiangHOST
document? So a
P
12:13Percy LiangHOST
fancier version of the Naive Bayes model is called latent Dirichlet allocation.
P
12:19Percy LiangHOST
And here, we're going to assume that a document is not just about one topic, but possibly multiple topics.
P
12:25Percy LiangHOST
So I'm going to generate a distribution over topics called alpha.
Lecture 6 – Sentiment Analysis 2 | Stanford CS224U: Natural Language Understanding | Spring 2019
C
18:06Christopher PottsHOST
And already from here, you can see that there's lots of space to explore.
C
18:10Christopher PottsHOST
If I wanted to try naive Bayes or a support vector machine, I would just write a different model wrapper.
C
18:16Christopher PottsHOST
If I wanted to explore different feature functions, I would just write new functions of trees, uh, and that would be very quick in terms of evaluating.
C
18:24Christopher PottsHOST
And by default, this is going to evaluate on random train test splits that are drawn from the training data, um, and you could periodically test against the dev set to see how well you're doing in reality.
C
21:00Christopher PottsHOST
there's no end of these things
C
21:01Christopher PottsHOST
essentially.
C
21:02Christopher PottsHOST
If you go on to scikit-learn and just look like in the linear model package, that things like logistic regression or if you look at the support vector machines in there or the Naive Bayes models, they have dozens of things that are hyperparameters.
C
21:15Christopher PottsHOST
And you can see them codified in code because it says like, here are all the keyword arguments, they have some defaults, but that's just one of the many values that you could explore for each one of those things.
Stanford CS229 Machine Learning | Spring 2026 | Lecture 5: Gaussian Discriminant Analysis
C
4:38Chris RéHOST
The importance of generative models, you know, let's say arguably dwarfs the discriminative from the point of view of excitement, maybe not of utility yet.
C
4:46Chris RéHOST
And then we'll talk about Naive Bayes, which is, like, one of the simplest generative models.
C
4:50Chris RéHOST
Um, and we'll do, like, a spam filter because I think there's still some, like, law that we have to teach you how to build a spam filter.
C
4:55Chris RéHOST
All right.
37 MINS LATER
C
41:58Chris RéHOST
And if something magical happens is we can set the derivatives to zero and solve it and get a closed form solution.
C
42:04Chris RéHOST
Okay? This isn't necessary for Gaussian models, but GDA does have this nice feature, and that is a feature worth pointing out because often people would use these generative models in situations when they wanted to compute something relatively cheaply.
C
42:17Chris RéHOST
And we'll see probably the, the archetype of this, something called Naive Bayes at the end of this lecture, which, like, is a very good first model.
C
42:25Chris RéHOST
It's a count-based model.
Episode 127: From Algorithms to Agents and What It Means for Data Science
I
20:01Imran AhmadGUEST
So I looked into that, and I said that, "Why don't you just use...
I
20:04Imran AhmadGUEST
There's a Naive Bayes algorithm." Naive Bayes is a famous algorithm that can be used.
I
20:08Imran AhmadGUEST
And so they said, "Can we use that?" I said, "It's a very simple chat.
I
20:11Imran AhmadGUEST
It's...
I
20:12Imran AhmadGUEST
Just try to use it." So they used Naive Bayes, and it was faster, it was cheaper, and the cost was zero because we own the algorithm, right? So the cost from thousands of dollars, it reduced to zero.
I
20:24Imran AhmadGUEST
And to my surprise, the results were better.
I
20:28Imran AhmadGUEST
The confusion matrix was better.