Bayes rule in practice
A slecture by Lu Wang
(partially based on Prof. Mireille Boutin's ECE 662 lecture)
1. Bayes rule for Gaussian data
Given data x ∈ Rd and N categories {wi}, i=1,2,…,N, we decide which category the data corresponds to by computing the probability of the N events. We’ll pick the category with the largest probability. Mathematically, this can be interpreted as:
According to Bayes rule:
In our case, the data is distributed as Gaussian. So we have,
Let
Now we have,
Generate the discriminant function as