Bayes Decision Rule Video

for Lecture 6, ECE662, Spring 2010


The video demonstrates Bayes decision rule on 2D feature data from two classes. We visualize the decision hyper surface as a red "wall" cutting through the bi-modal distribution of the data, and observe how it changes with the parameters of the Gaussian distributions for the two classes. Note that if the covariance matrices and the priors of the classes are identical, then the decision surface cuts directly between the two modes. If the prior of one class increases, the decision surface is "pushed away" from that mode, biasing the classifier in favor of the more likely class.

The code for making such a video is available for download here

For more on Bayes' decision rule, see Lecture 6, ECE662, Spring 2008.


Back to ECE662 Spring 2008

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett