Native Bayes classifier