Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vansh-khaneja/spam-email-detection

This is a spam email detection model
https://github.com/vansh-khaneja/spam-email-detection

machine-learning naive-bayes-classifier scikit-learn spam-detection

Last synced: about 1 month ago
JSON representation

This is a spam email detection model

Awesome Lists containing this project

README

        

# Spam-Email-Detection
## Accuracy Rate :- 98.46%
This Spam Email detection model is able to filter out the mails whether they are spam or not.
The dataset used for training model is taken from kaggle :- https://www.kaggle.com/datasets

The project is created by using the Naive Bayes MultinomailNB Algorithm from sklearn library in Pyhton.
For testing the model you may use python file spam_email_detector.py where u can give the mail content in the input and you will get the result as output.
Also give a look at the jupyter notebook spam_detector.ipynb for better understanding using statistics and graphs
## Steps
1) Sorting out data with contvectorizer.
2) Spliting data into training data and testing data.
3) Testing data on various ML models to find out the best one.
4) Training model with the train datset.
5) Testing model to check accuracy with the test data.
6) Testing the trained model with custom mails.