Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 785 Bytes

File metadata and controls

24 lines (19 loc) · 785 Bytes

📧 Spam Email Detection using TensorFlow & Keras

This project uses a deep learning approach with Bidirectional LSTM to detect spam emails from text data. It includes preprocessing, tokenization, model training with callbacks, and comprehensive evaluation.

🧠 Features

  • Tokenization & Padding
  • Bidirectional LSTM with Dropout
  • Model Checkpointing & Early Stopping
  • Confusion Matrix & Classification Report
  • Automatic Best Model Saving (.keras)

📊 Results

  • Accuracy: 99%

🚀 Tech Stack

  • Python, TensorFlow, Keras, Scikit-learn, Pandas, Matplotlib, Seaborn

🧪 How to Run

pip install -r requirements.txt
python spam_detection.ipynb

You can also access my Kaggle Notebook here >> https://www.kaggle.com/code/aryadev25/spam-email-detection