Spaces:
Sleeping
Sleeping
File size: 782 Bytes
5281690 d73cc64 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
---
title: Email Spam
emoji: π
colorFrom: gray
colorTo: yellow
sdk: gradio
sdk_version: 5.49.0
app_file: app.py
pinned: false
license: apache-2.0
---
# π Email Spam
### π¨ Overview
This project predicts whether an email is **Spam** or **Not Spam** using a machine learning model trained with **Naive Bayes** and **scikit-learn**.
Itβs deployed as an interactive **Gradio** web app for real-time predictions.
---
### π§ Model Details
- **Algorithm**: Multinomial Naive Bayes
- **Feature Extraction**: TF-IDF Vectorizer
- **Libraries**: scikit-learn, pandas, nltk, gradio
The model classifies an email as:
- **Spam** β if the email contains promotional, fraudulent, or phishing-like content
- **Not Spam** β if itβs a legitimate or safe email
---
|