# Questions tagged [naive-bayes]

A naive Bayes classifier is a simple probabilistic classifier based on applying Bayes' theorem with strong independence assumptions. A more descriptive term for the underlying probability model would be "independent feature model".

589 questions
Filter by
Sorted by
Tagged with
1 vote
13 views

### Design for using Naive Bayes to show meaningful decrease in heart rate after listening to music

Hypothesis I'm interested in using Naive Bayes to train a predictor on if listening to a certain song is likely to lower that user's heart rate to a certain threshold. More specifically, what set of ...
• 11
49 views

### AUC - Logistic Regression versus LDA, and Naive Bayes

everyone! I am a newbie on machine learning, and I am now interested on classification modeling. I used logistic regression, linear discriminant analysis (LDA), and naive Bayes on my notebook DataCamp ...
11 views

• 121
23 views

### naive bayes pseudo code and cleaning techniques

so let's say you are a librarian at a local library responsible for organising documents in 3 categories: new, fictions and scientific articles. one day, the library obtained access to some new ...
8 views

### How to count p(data) for Naive Bayes in the table below?

I'm trying to learn more about naive bayes + their calculation so I read the paper from Rennie et al, "Tackling the Poor Assumptions of Naive Bayes Text Classifiers". I'm curious about the ...
1 vote
544 views

### Product of two normal distributions (for Bayes Rule) is not product of normal output variables?

When we apply Bayes' rule in machine learning, we want to compute the posterior probability $P(y|X)$ by multiplying two probability distributions (the observed class-conditional likelihood $P(X|y)$ ...
110 views

### Logic of Sklearn Bernoulli Naive Bayes Classifier when the the predictors are not even binary?

I know the mathematics behind the Naive Baye's Bernoulli Classifier Algorithm and it is used to calculate the probabilistic results. As we know the Bernoulli Naive Bayes Classifier uses binary ...
28 views

• 51
44 views

### How to re-write with Bayes' Rule as a function?

I'm a little bit stuck. Say I have a P(A | B ^ C). How could I re-write this as a function with the terms P(B|A ^ C), P(B|C) and P(C|B) and can anyone explain how this was done?
• 1
168 views

### Naive Bayes - having trouble coming up with a case where Laplace smoothing changes the prediction

I'm thinking through the logic of Naive Bayes and encountered a brain teaser. I know that adding smoothing (alpha) to Naive Bayes can help to increase the accuracy of the model, which implies that it ...
• 123
1 vote
347 views

### How to choose prior in Laplace Smoothing Naive Bayes?

Please check the image for reference How to choose the prior probability of each feature . Should we use the same prior for every feature or different features use different prior. for example ...
118 views

### How should I handle Laplace smoothing in Naive Bayes in this example?

I have a toy dataset on animals, with 4 features and 2 possible classes (mammals vs non-mammals). I have summarized the dataset ...
• 111