compare with naive bayes