bayesian naive bayes for classification example