semi-supervised naive bayes classifier (there are still bugs)