Questions tagged [naive-bayes]

72 questions
1
vote
0 answers

Cross Validation for the Naive Bayes Classifier

I am performing Naive Bayes classification on the spam/ham dataset. I understand how Naive Bayes works, and have it implemented in few lines of Matlab code. I was told that cross-validation can be used to learn the classifier parameters. What I…
1
vote
0 answers

How can I predict Naive Bayes data(spam or ham)?

For example, I have Naive Bayes data like data : probability Fastest : 1 digit : 0 Find : 0.643234 Forum : 0.562904 Free : 0.857344 I might say if there is a word "data" in a certain document, I might predict that document is spam and word…
Tot
  • 47
0
votes
0 answers

about the arbitary parameter in naive bayes classifier?

In the car theft example given at the below link, why did we go with m=3? http://www.inf.u-szeged.hu/~ormandi/ai2/06-naiveBayes-example.pdf This example there is a database for a car and it has following attributes - color, type, origin. The dataset…
deostroll
  • 267
0
votes
1 answer

Interpreting the results of a Naive Bayes classifier.

Using the Naive Bayes formula to classify text I have something like... $$ P(Cat|Word1) = \frac{P(Word1|Cat) * P(Cat)}{P(Word1)} $$ Using a small example ... Cat1 = 4 documents = 1x word 'Hello' = 3x word 'World' Cat2 = 10 documents …
0
votes
1 answer

Naïve Bayes Classifier

For the Data Mining - Naïve Bayes Classifier for the case of "Numberless values for an attribute", the conditional probability is modeled with the normal distribution (see below). Probability Density Function for the Normal Distribution Suppose I…