An example of Bayesian classification to determining the optimal decision boundary to do predictions.