adding naive bayes classifier