Please ensure that all three files are within the same directory and then run:
python3 ./naive_bayesian.py ./spamLabelled.dat ./spamUnlabelled.dat
Runs a Naive Bayesian Classifier on a data set of features that match to the appearance of features in spam emails. Given the presence of features the program will use the labelled data set to build a model that will calculate a score for each instance (one email) and decide the class (spam or not spam email) based on the highest score.
Data files supplied by Victoria University of Wellington