Implementation of perceptron training algorithm using the perceptron training rule to classify if an email is spam
Uses the data set found in Metsis, Androutsopoulos, Paliouras paper “Spam Filtering with Naive Bayes - Which Naive Bayes?”
Link to data set here : http://nlp.cs.aueb.gr/software.html under NaiveBayesSpamDetector
Using python 3.6+
python main.py training-set test-set
training-set is the name of the training set directory
test-set is the name of the test set directory