Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 677 Bytes

File metadata and controls

26 lines (15 loc) · 677 Bytes

Building a Spam Classifier with Naïve Bayes

This is done as an assignment for the Machine Learning course. This notebook includes classification of 960 e-mails with Naïve Bayes algorithm.

Dataset and Model Used

  • Dataset: Includes 960 real email messages. Modified subset of the Ling-Spam Dataset
  • Classification Methods: Naïve Bayes (additive smoothing used, too).

Files

  • train-features.txt
  • train-labels.txt
  • test-features.txt
  • test-labels.txt
  • Building_a_Spam_Classifier_with_Naive_Bayes_Muge_Kuskon.ipynb

Libraries

  1. pandas
  2. numpy

Written with StackEdit.