0% found this document useful (0 votes)
59 views

Naïve Bayes Classifier Algorithm

The Naive Bayes classifier algorithm is a supervised learning algorithm used for solving classification problems. It is based on Bayes' theorem and works well for problems with high-dimensional training data, such as text classification. The algorithm predicts the probability of an object belonging to a class based on the probability of its attributes. It assumes attribute values are conditionally independent of one another given the class. Bayes' theorem is used to calculate the posterior probability of a hypothesis given prior knowledge and evidence.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

Naïve Bayes Classifier Algorithm

The Naive Bayes classifier algorithm is a supervised learning algorithm used for solving classification problems. It is based on Bayes' theorem and works well for problems with high-dimensional training data, such as text classification. The algorithm predicts the probability of an object belonging to a class based on the probability of its attributes. It assumes attribute values are conditionally independent of one another given the class. Bayes' theorem is used to calculate the posterior probability of a hypothesis given prior knowledge and evidence.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Naïve Bayes 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 mainly used in text classification that includes a high-dimensional training dataset.
 It is a probabilistic classifier, which means it predicts on the basis of the probability
of an object.
 Examples:- spam filtration, Sentimental analysis, and classifying articles.
 The Naïve Bayes algorithm is comprised of two words Naïve and Bayes, Which can be described
as:
 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. Such as if the fruit is
identified on the bases of color, shape, and taste, then red, spherical, and sweet
fruit is recognized as an apple. Hence each feature individually contributes to
identify that it is an apple without depending on each other.
 Bayes: It is called Bayes because it depends on the principle of Bayes' Theorem.

Bayes' Theorem:

o 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.
o 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.

You might also like