Bayesian Classification Using Probabilistic Graphical Models