

Overview
Spam Detector is a Naive Bayes classification machine learning model that uses Google Cloud Gmail API to directly access my Gmail inbox, removing spam emails
Naive Bayes Classification Model
The model was trained using this data set using a 80 20 split and uses a Term Frequency-Inverse Document Frequency to determine how important a word is. The TF-IDF vectorizer from Scikit-Learn transforms the text into a matrix of TF-IDF features. The model subsequently uses Baye's theorem to make strong independent assumptions between the features