Append naive bayes classifier