Naïve Bayes Classifier Algorithm
Naïve Bayes Classifier Algorithm
CLASSIFIER ALGORITHM
Naïve Bayes algorithm is a supervised learning
algorithm, which is based on Bayes theorem and
used for solving classification problems.
It is a probabilistic classifier, which means it
predicts on the basis of the probability of an object.
Naïve: It is called Naïve because it assumes that the
occurrence of a certain feature is independent of the
occurrence of other features.
Bayes: It is called Bayes because it depends on the
principle of Bayes' Theorem.
Loaded: 0.37%
Â
Bayes' Theorem:
• Bayes' theorem is also known as Bayes' Rule or Bayes' law,
which is used to determine the probability of a hypothesis with
prior knowledge. It depends on the conditional probability.
• The formula for Bayes' theorem is given as:
Where,
P(A|B) is Posterior probability: Probability of hypothesis A on the observed
event B.
P(B|A) is Likelihood probability: Probability of the evidence given that the
probability of a hypothesis is true.
P(A) is Prior Probability: Probability of hypothesis before observing the
evidence.
P(B) is Marginal Probability: Probability of Evidence.
Naïve Bayes classifier steps