Add basic self-training for naive bayes classifier.