GithubHelp home page GithubHelp logo

emr4h / spam-email-and-url-detection-using-machine-learning Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 4.0 3.83 MB

Detection of spam emails and spam urls by classification with machine learning

License: MIT License

Jupyter Notebook 100.00%
classification machine-learning python spam-classification spam-detection spam-mail spam-url

spam-email-and-url-detection-using-machine-learning's Introduction

Spam-Email-and-Url-Detection-Using-Machine-Learning

About The Project

Detection of spam emails and spam urls by classification with machine learning

Getting Started

The data sets used in the project were taken from the addresses below

Thank you to the friends who provided these datasets.

Dataset

  • This dataset (spam.csv) contains a total of 5572 data. There are %83 safe and %17 spam.
  • This dataset (url_spam_classification.csv) contains a total of 148.303 data. There are %68 safe and %32 spam.

Classification

Classification algorithms used for spam email detection :

* Decision Tree
* K-Nearest Neighbors
* Random Forest
* Support Vector Machine

Classification algorithms used for spam url detection :

* Decision Tree
* Stochastic Gradient Descent
* Multinomial Naive Bayes
* Linear Support Vector

Spam Email Results

The Success Rate was calculated as % : 93.89806173725772 with the K-Nearest-Neighbors
The Success Rate was calculated as % : 97.05671213208902 with Random Forest
The Success Rate was calculated as % : 96.76956209619526 with Decision Tree
The Success Rate was calculated as % : 97.98994974874373 with Support Vector Machine

Spam Url Results

The Success Rate was calculated as % : 98.80245981227749 with Decision Tree
The Success Rate was calculated as % : 98.52465206602655 with LinearSVC
The Success Rate was calculated as % : 95.27457115114899 with Stochastic Gradient Descent
The Success Rate was calculated as % : 91.10206063221491 with Multinomial Naive Bayes

spam-email-and-url-detection-using-machine-learning's People

Contributors

emr4h avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.