Skip to content

bhattacharya-arka/Spam_Mail_Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spam_Mail_Prediction

Model

A ML Model based on Logistic Regression for Spam Email Classification

This model takes in the mail as input and converts it into feature vectures

Screenshot 2023-07-26 at 4 22 11 PM

Training the model on logistic regression

Screenshot 2023-07-26 at 4 23 20 PM

The Model is 96% accurate

Screenshot 2023-07-26 at 4 25 01 PM

Test Inputs

Spam Email (Labelled as 0)

Screenshot 2023-07-26 at 4 25 39 PM

Ham Email (Labelled as 1)

Screenshot 2023-07-26 at 4 27 11 PM

Front End of the Web App

Ham Email

Screenshot 2023-07-26 at 10 29 50 PM

Spam Email

Screenshot 2023-07-26 at 10 32 28 PM

Setting Up Email Spam Prediction Web App(On macOS)

Step 1: Clone the Repository

git clone https://github.com/bhattacharya-arka/Spam_Mail_Prediction.git
cd Spam_Mail_Prediction/Web\ App

Step 2: Install Requirements

pip3 install flask
pip3 install pickle

Step 3: Run the Flask App

python3 app.py

Setting Up Email Spam Prediction Web App(On Windows)

Step 1: Clone the Repository

git clone https://github.com/bhattacharya-arka/Spam_Mail_Prediction.git
cd Spam_Mail_Prediction/Web\ App

Step 2: Install Requirements

pip install flask
pip install pickle

Step 3: Run the Flask App

python app.py

Step 4: Access the Web App at http://localhost:5000

About

A ML Model based on Logistic Regression for Spam Email Classification

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published