add a naive bayes classifier