ML Lecture 10 (Naïve Bayes Classifier)
ML Lecture 10 (Naïve Bayes Classifier)
Email: [email protected]
Definition: Naïve Bayes Classifier
A probabilistic classifier based on applying Bayes’ theorem
The reason why it is called ‘Naïve’ because it requires rigid
independence assumption between input variables/attributes
Two specific assumptions are required for the attributes:
Attributes are statistically independent given the class value
Attributes are equally important
Bayes’ theorem
Using Bayes theorem, we can find the probability of A happening, given that B has occurred.
Here, B is the evidence and A is the hypothesis.
Likelihood Prior
Probability
Evidence
Probability » Read Conditional
Posterior Probability
Probability
Naïve Bayes Classifier
Given a problem instance X to predict the class labels Y. In the
Bayes’ theorem, if the evidence (B) is represented by an instance
(X) and the hypothesis (A) is represented by a class label 𝑦 ∈ 𝑌,
then the probability of the class label 𝑦 given an instance X is: