Naive Bayes Flashcards
What topics are covered in the outline of this deck?
Bayes Theorem
Bayesian Classification
Naibe Bayes for Classification
What is the mathematical formula of Bayes’ formula?
P(A|B) = [P(B|A) * P(A)] / P(B)
P(A|B) = Probability of A given B (the posterior probability)
P(B|A) = Probability of B given A (the likelihood)
P(A) = Prior probability of A
P(B) = Probability of B (marginal probability)
In Bayesian Classification what do we do when we have many examples for each possible combination of values for all predictor attributes, but different classes?
The optimal classification, to maximise accuracy, would be to choose the most frequent class for that combination of attribute values.
What are some limitations of Naïve Bayes?
Assumes each attribute is independent from all other attributes, given a class.
- This is usually an unrealistic assumption
- This is also why Naïve Bayes is naïve
Classification accuracy is sensitive to redundant attributes
What are some strengths of Naïve Bayes
Is able to deal with missing attributes.
- Missing attributes can be ignored because attributes are conditionally independent given the class