create NaiveBayesClassifier