Q.2 What is Naïve Bayes? Classifiers ?
Naїve Bayes
Naїve Bayes algorithm compromised of two words which is Naїve and Bayes
Naїve : it assumes that the occurrence of the certain features is independent of occurrence of other features such as if fruit is identified on the bases of color, taste, shape then orange-color, round and sweet-tart fruit is recognized as an orange
Bayes: it depends on principle of Bayes theorem
Bayes theorem
- Bayes theorem also called as Bayes Rule or Bayes law which is used to determine probability of the hypothesis with the prior knowledge. It depends on conditional probability
- Formula for Bayes theorem is given
Where,
P(A|B) – it is called posterior probability. Probability of the hypothesis A on observed event B
P(B|A) – it is called likelihood probability. Probability of evidence given that probability of the hypothesis is true
P(A) – it is called prior probability. Probability of the hypothesis before observing evidence
P(B) – it is called marginal probability. Probability of the evidence
Step by step
Solved in 3 steps with 4 images