Provide your mail body as input to the trained machine learning model and ML model will tell you that whether that mail is SPAM or HAM mail.
- Deployment
- Software & Tools
- Commands
- Features
- Developers
- Feedback
spam-mail-detector-cicd.herokuapp.com
- Github Account
- Visual Studio Code IDE
- Heroku Account
- Git CLI
- Create a new Environment
conda create -p venv python==3.7 -y
- To Run the Environment
conda activate venv/
-
Create "requirements.txt"
-
Install all dependencies from "requirements.txt" file
pip install -r requirements.txt
- Git Setup
git config --global user.name
git config --global user.email
git add .
git commit -m "commit message"
git push origin main
- Run flask app
python app.py
- Heroku Deployment
Create a Procfile
web: gunicorn app:app
- Heroku deployment using Docker and Github Actions(CICD Pipeline)
Create two folders
.github
.github/workflows
Create .yaml file
main.yaml
- Github Actions
Go to Repo settings->Secrets ->Actions ->New secret Key ->Add all the keys
-
Model is trained using Logistic Regression algorithm based on supervised learning.
-
Attribute Information (in order):
- mail-body
-
SPAM- mail is categorized as spam mail.
-
HAM- mail is categorized as normal mail.
Feel free to provide the feedback.
Contact Here:- akhot610@gmail.com