class NaiveBayes1