Classification rule based on Bayesian naive Bayes models with