Code for Naive Bayes and Logistic Regression aprroach to classifying an email as a spam and non-spam.
Results: Naive Bayes: correctly classified 47 out of 49 spam messages, and 33 out of 51 ham messages
Logistic: correctly classified 45 out of 49 spam messages, and 46 out of 51 ham messages