Baselight

Spam Email Classification Dataset

Combined Spam Email CSV of 2007 TREC Public Spam Corpus and Enron-Spam Dataset

@kaggle.purusinghvi_email_spam_classification_dataset

About this Dataset

Spam Email Classification Dataset

Introduction

This is a csv file containing 83446 records of email which are labelled as either spam or not-spam. It is formed by combining the 2007 TREC Public Spam Corpus and Enron-Spam Dataset.

Columns

  1. label
    • '1' indicates that the email is classified as spam.
    • '0' denotes that the email is legitimate (ham).
  2. text
    • This column contains the actual content of the email messages.

Sources

  1. 2007 TREC Public Spam Corpus
  2. Enron-Spam Dataset

Code for combining and processing the two datasets: https://github.com/PuruSinghvi/Spam-Email-Classifier/blob/main/Combining%20Datasets.ipynb

Spam Email Classifier

A spam email classifier has been trained and built using this dataset.
It can be found here: https://github.com/PuruSinghvi/Spam-Email-Classifier

Share link

Anyone who has the link will be able to view this.