Decision Boundary for Gaussian Distribution

The animation (generated with Cinderella) shows the decision boundary for the two-class problem with normally distributed features.

The two distributions (blue and red) are represented by three iso-lines of the probability density functions p1(x) and p2(x), being con-central similar ellipses. We assume the iso-lines represent the same density for the two classes. Thus, the decision boundary must pass through the intersection points of corresponding iso-lines. This decision boundary generally is a conic.

The initial configuration shows two Gaussian distribution which have the same covariance matrix. The resulting decision boundary is a straight line.

You may change the two distributions by moving the centres (means), changing the semi-axes of the ellipses (left) and by rotating one of the axes. The animation then shows the resulting decision boundary, specifically the coordinates x where |ln p1-ln p2| < tol.

In addition the Bhattacharyya-distance with its translation component (the Mahalanobis distance) and its covariance component, and the Hellinger distance are given.

Explore the configuration: