This repository contains the code for a Spam Filter, a machine-learning project designed to classify emails as either spam or non-spam. The project involves Exploratory Data Analysis (EDA) to understand the characteristics of spam and non-spam emails. Various supervised classification algorithms are implemented using Scikit-learn in a Jupyter Notebook, and a pipeline is created using CountVectorizer and Naive Bayes for efficient text classification. The selected model is then deployed using Gradio, providing a user-friendly interface for spam detection.
- Python
- Jupyter Notebook
- Pandas: Data manipulation and analysis
- NumPy: Numerical computing in Python
- Matplotlib: Data visualization
- Scikit-learn: Machine learning tools and algorithms
- Gradio: UI and model deployment
![Screenshot 2023-11-14 124725](https://private-user-images.githubusercontent.com/85826531/282718346-3e5d928a-f561-41bb-9d8c-6f471e583efb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyNDM1ODIsIm5iZiI6MTcyMDI0MzI4MiwicGF0aCI6Ii84NTgyNjUzMS8yODI3MTgzNDYtM2U1ZDkyOGEtZjU2MS00MWJiLTlkOGMtNmY0NzFlNTgzZWZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA2VDA1MjEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk4NjEwNWVkMGIwMWM5MzRhZmRmZjdjYzE2MjljOWU3NDU0ZjNhZmNiYWRmOTYwOTExNWQ5YjdhZTk0NWJmMjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.F75QZ_Sq5LvN77Y1TN9bDpoC8YQUOqumEJSS8LtuLSA)