The Bayesian approach is an indirect method for classification that models probabilities to determine class membership. It involves three main steps:
-
Model the class-conditional likelihood for each class,
-
Model the prior probability for each class,
-
Use Bayes’ formula to calculate the posterior probability, , which is the probability of a class given the input data.
The Bayesian Formula is:
Here, is the “evidence” and acts as a scaling factor that does not influence the classification decision.