Skip to content

Sahil-Gupta-AI/spam-email-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📧 Spam Email Detection (Machine Learning Project)

This project is a Spam Email Classifier built using Machine Learning and Natural Language Processing (NLP).
It can classify emails as Spam or Not Spam based on their content.


👀 Project Preview

Spam Email Detection Preview 1


🚀 Features

  • Preprocessing of email text (lowercasing, removing symbols, stopwords, etc.)
  • Feature extraction using TF-IDF Vectorizer
  • Machine Learning model for classification
  • Web interface (Flask app + HTML template) to test with custom inputs
  • Pre-trained model files (spam_model.pkl, vectorizer.pkl)

📊 Dataset

The dataset is too large to store in this repository.

➡️ Download it from Kaggle:
📥 190k Spam-Ham Email Dataset for Classification

After downloading, place it inside the Dataset/ folder:

Spam Email Detection Preview 3

About

A machine learning-based email spam detector that classifies messages as spam or ham using natural language processing techniques.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors