Naive Bayes and TAN learner