Naïve Bayes Text Classifier

Text classification algorithms, such SVM, and Naive Bayes, have been developed to build up search engines and construct spam email filters. As a simple yet powerful sample of Bayesian theorem, naive Bayes shows advantages in text classification yielding satisfactory results. In this paper, a spam email detector is developed using naive Bayes algorithm. We use pre-classified emails (priory knowledge) to train the spam email detector. With the model generated from the training step, the detector is able to decide whether an email is a spam email or an ordinary email.