Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.1.0
metadata
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