Extracts emails from Gmail from 'Inbox' and 'Spam' folders in .txt format. Then converts each folder to Excel files. Adds 'spam' and 'non-spam' Labels and 1/0 Label_Numbers. Merges both Excel files into one and shuffles them.
Working of Code
NOTE: enable 'Less Secure App' access for the code to work
https://myaccount.google.com/lesssecureapps
- Logistic Regression
- Support Vector Machine (Linear)
- Support Vector Machine (RBF)
- K Nearest Neighbor
- Decision Tree Classifier
- Random Forest Classifier
- Multinomial Naïve Bayes