Weighted Naive Bayes Classifier