https://github.com/pankil-soni/email-spam-detector
Website for predicting whether a E-mail/SMS is spam or not
https://github.com/pankil-soni/email-spam-detector
data-science emailspamclassifier machine-learning miniproject miniprojects nlp nlp-machine-learning python streamlit
Last synced: 3 months ago
JSON representation
Website for predicting whether a E-mail/SMS is spam or not
- Host: GitHub
- URL: https://github.com/pankil-soni/email-spam-detector
- Owner: pankil-soni
- Created: 2024-01-11T16:58:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-11T17:49:13.000Z (over 2 years ago)
- Last Synced: 2025-01-12T08:35:54.471Z (over 1 year ago)
- Topics: data-science, emailspamclassifier, machine-learning, miniproject, miniprojects, nlp, nlp-machine-learning, python, streamlit
- Language: Jupyter Notebook
- Homepage: https://email-spam-detector-m.streamlit.app
- Size: 2.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Email Spam Detection App**
This Streamlit app is a robust email spam detection tool that leverages different machine learning models to predict whether an email is spam or not. Users can choose from various models, input email text directly, or upload a CSV file containing emails for bulk prediction.
# Links:
- ### Link to the website: https://email-spam-detector-m.streamlit.app/
# Table of contents
- [Features](#features)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [About the Project](#about-the-project)
- [Screenshots](#screenshots)
- [Contact](#acknowledgements)
# Features
- Model Accuracies: Display the accuracy scores of different machine learning models.
- Predictions: Input email text or upload a CSV file for spam predictions.
- User-Friendly Interface: Streamlit UI ensures an intuitive and easy-to-use experience.
# **Getting Started**
## Clone the repository:
### Prerequisites
1. python3
2. git
3. pip
### Installation
```
git clone https://github.com/pankil-soni/email-spam-detector.git
```
```
cd email-spam-detector
```
### Install the required dependencies:
```
pip install -r requirements.txt
```
### Run the Streamlit app:
```
streamlit run app.py
```
# Usage
### Text Input
1. Select "Text" as the input type.
2. Enter the email text in the provided text area.
3. Click the "Predict" button to get the spam prediction.
### CSV File Input
1. Select "CSV File" as the input type.
2. Upload a CSV file with a column named 'Email.'
3. The app will predict spam for each email and display the results.
## Model Selection
- ### Choose from the following machine learning models:
1. Logistic Regression
2. Random Forest Classifier
3. Support Vector Classifier (SVC)
3. Complement Naive Bayes
# About This Project
This project is designed for email spam detection, offering flexibility in model selection and input types. It provides an efficient way to analyze single emails or process bulk predictions from CSV files.
# Screenshots




# Contributing
Contributions are welcome! Please fork the repository and create a pull request.
# Acknowledgements
This project is created by pankil soni :
- github: https://github.com/pankil-soni
- linkedin : https://www.linkedin.com/in/pankil-soni-5a0541170/
- email : pmsoni2016@gmail.com