A Bayesian Decision Theory Approach to Classification Problems