The Bayesian (minimum error rate) discriminant function is a decision rule that selects the class with the highest posterior probability given a feature vector :

In contrast, is the discriminant function for a specific class , which calculates a score for that class:

Classification is performed by computing for each class and selecting the class with the highest value. This approach minimizes the overall probability of classification error.


Class Problems

where, , gives the minimum error rate classification.

Decision Problems

where, , gives the minimum risk decision.