Machine Learning Tutorial: The Naive Bayes Text Classifier