Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imsanjoykb/automated-spam-mail-detection-and-flask-deployment
This is an simple NLP project in which the model is able to predict the incoming mail whether it is spam or not spam(ham). As we seen in gmail automatically the mail is classified and stored in spam or inbox so this project is prototype.
https://github.com/imsanjoykb/automated-spam-mail-detection-and-flask-deployment
flask machine-learning naive-bayes-classifier nlp python scikit-learn
Last synced: 3 months ago
JSON representation
This is an simple NLP project in which the model is able to predict the incoming mail whether it is spam or not spam(ham). As we seen in gmail automatically the mail is classified and stored in spam or inbox so this project is prototype.
- Host: GitHub
- URL: https://github.com/imsanjoykb/automated-spam-mail-detection-and-flask-deployment
- Owner: imsanjoykb
- License: mit
- Created: 2020-10-16T17:06:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-10T16:17:20.000Z (about 4 years ago)
- Last Synced: 2024-10-13T04:41:21.921Z (4 months ago)
- Topics: flask, machine-learning, naive-bayes-classifier, nlp, python, scikit-learn
- Language: Jupyter Notebook
- Homepage: https://imsanjoykb.github.io/
- Size: 347 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spam Mail Detection:
## Table of Content
- [Demo](#demo)
- [Overview](#overview)
- [Motivation](#motivation)
- [Technical Aspect](#technical-aspect)
- [Installation](#installation)
- [Directory Tree](#directory-tree)
- [Technologies Used](#technologies-used)
- [Team](#team)
- [Credits](#credits)## Overview
This is an simple NLP project in which the model is able to predict the incoming mail whether it is spam or not spam(ham). As we seen in gmail automatically the mail is classified and stored in spam or inbox so this project is prototype.
## Technical Aspect
This project is divided into two part:
1. Training a machine learning model.
2. Building and hosting a Flask web app on Heroku.
3. Used WordLammitizer and Stopwords.
4. We can also perform Hyperparammeter tunning but using NaiveBayes the accuracy is all other parameter are having high rate## Installation
The Code is written in Python 3.7. If you don't have Python installed you can find it [here](https://www.python.org/downloads/). If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after [cloning](https://www.howtogeek.com/451360/how-to-clone-a-github-repository/) the repository:
```bash
pip install -r requirements.txt
``````
├── static
│ ├── style.css
├── templates
│ ├── home.html
| ├── result.html
├── requirements.txt
├── Procfile
├── README.md
├── SMSSpamCollection.csv
├── app.py
├── nlp model.pkl
├── nlts.txt
├── transform.pkl
├── SpamClassifier.ipynb
```## Technologies Used
![](https://forthebadge.com/images/badges/made-with-python.svg)
[](https://scikit-learn.org/stable/) [](https://flask.palletsprojects.com/en/1.1.x/) [](https://gunicorn.org)
[](https://jquery.com/)
## Credits
- [Dataset Download](https://archive.ics.uci.edu/ml/datasets/SMS+Spam+Collection)
## Copyright
Sanjoy Biswas | Data Science | Machine Learning | Deep Learning