Bayes Classification Methods
Bayes Classification Methods
Machine Learning
• Suppose that H is the hypothesis that our customer will buy a computer.
• P(H|X) is the posterior probability of H conditioned on X.
It is the probability that customer X will buy a computer given that we know X = (age =
youth, income = medium, student = yes, credit rating = fair)
• Suppose that H is the hypothesis that our customer will buy a computer.
• P(H) is the prior probability of H
It is the probability that any given customer will buy a computer, regardless of age,
income, student, credit rating, or any other information, for that matter.
needs to be maximized
31/07/2023 Department of CSE, Chittagong University of Engineering & Technology 9
Working Procedure of Naïve Bayesian Classifier
4. To reduce computation in evaluating P(X|Ci), the Naïve assumption of class-
conditional independence is made.
This presumes that the attributes’ values are conditionally independent of one
another, given the class label of the tuple. Thus,
5. To predict the class label of X, P(X|Ci) * P(Ci) is evaluated for each class Ci.
And assigned the class label which has the highest probability.
Similarly,
[1] Han, J., Kamber, M., & Pei, J. (2012). Data mining concepts and techniques third
edition. University of Illinois at Urbana-Champaign Micheline Kamber Jian Pei Simon
Fraser University