naive version of naive bayes