add NaiveBayes classification implementation