All Projects → MoAbd → Spam-detection

MoAbd / Spam-detection

Licence: MIT license
Email Spam-detection is an ANN app with TensorFlow. The idea is simple - given an email you’ve never seen before, determine whether or not that email is Spam

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Spam-detection

ntnu-som
Using Self-Organizing Maps for Travelling Salesman Problem
Stars: ✭ 31 (+0%)
Mutual labels:  ann
FacialEmotionRecognition
Using Extended Cohn-Kanade AU-Coded Facial Expression Database to classify basic human facial emotion expressions using ann
Stars: ✭ 28 (-9.68%)
Mutual labels:  ann
cuhnsw
CUDA implementation of Hierarchical Navigable Small World Graph algorithm
Stars: ✭ 69 (+122.58%)
Mutual labels:  ann
adventures-with-ann
All the code for a series of Medium articles on Approximate Nearest Neighbors
Stars: ✭ 40 (+29.03%)
Mutual labels:  ann
blogspam-api
Implementation of the blogspam.net server in golang
Stars: ✭ 22 (-29.03%)
Mutual labels:  spam-detection
SpamProtectionRobot
Anti Spam/NSFW Telegram Bot Written In Python With Pyrogram.
Stars: ✭ 46 (+48.39%)
Mutual labels:  spam-detection
wordpress-zero-spam
The WordPress Zero Spam plugin makes blocking spam a cinch without all the bloated options. Just install, activate, and say goodbye to spam.
Stars: ✭ 67 (+116.13%)
Mutual labels:  spam-detection
Batch-First
A JIT compiled chess engine which traverses the search tree in batches in a best-first manner, allowing for neural network batching, asynchronous GPU use, and vectorized CPU computations.
Stars: ✭ 27 (-12.9%)
Mutual labels:  ann
DGFraud-TF2
A Deep Graph-based Toolbox for Fraud Detection in TensorFlow 2.X
Stars: ✭ 84 (+170.97%)
Mutual labels:  spam-detection
img classification deep learning
No description or website provided.
Stars: ✭ 19 (-38.71%)
Mutual labels:  ann
python-neuron
Neuron class provides LNU, QNU, RBF, MLP, MLP-ELM neurons
Stars: ✭ 38 (+22.58%)
Mutual labels:  ann
spamtoberfest
Fight against PR spammers
Stars: ✭ 51 (+64.52%)
Mutual labels:  spam-detection
Emotion-recognition-from-tweets
A comprehensive approach on recognizing emotion (sentiment) from a certain tweet. Supervised machine learning.
Stars: ✭ 17 (-45.16%)
Mutual labels:  ann
elasticsearch-approximate-nearest-neighbor
Plugin to integrate approximate nearest neighbor(ANN) search with Elasticsearch
Stars: ✭ 53 (+70.97%)
Mutual labels:  ann
disposable-email-domain-list
A list of disposable email domains, cleaned and validated by scanning MX records.
Stars: ✭ 68 (+119.35%)
Mutual labels:  spam-detection
RecPlate-lib
基于BP神经网络的车牌识别系统
Stars: ✭ 41 (+32.26%)
Mutual labels:  ann
Machine-Learning-Models
In This repository I made some simple to complex methods in machine learning. Here I try to build template style code.
Stars: ✭ 30 (-3.23%)
Mutual labels:  ann
Blur-and-Clear-Classification
Classifying the Blur and Clear Images
Stars: ✭ 88 (+183.87%)
Mutual labels:  ann
NumPyANN
Implementation of Artificial Neural Networks using NumPy
Stars: ✭ 85 (+174.19%)
Mutual labels:  ann
Time-Series-Forecasting
Rainfall analysis of Maharashtra - Season/Month wise forecasting. Different methods have been used. The main goal of this project is to increase the performance of forecasted results during rainy seasons.
Stars: ✭ 27 (-12.9%)
Mutual labels:  ann

Spam-detection

Implementation of ANN for email spam-detection using TensorFlow
The idea is simple - given an email you’ve never seen before, determine whether or not that email is Spam or not.

It is simple ,but very efficient as I reached 99.6% accuracy .

The code is tested on python 2.7.11 and should work on python 2.x


Files description:

The data provided is from a kaggle competition

  • TR.tar.gz FILES contains 2500 mails both in Ham(1721) labelled as 1 and Spam(779) labelled as 0
  • spam-mail.tr.label is the associated training labels.
  • ExtractContent.py extract the subject and body of the email.

In a python compatible environment,

1, invoke the script by command

./ExtractContent.py

2, input source directory -- where you store the source files

For exmaple C:\EMAILPro\CSDMC2010_SPAM\TEST

3, input destination directory -- where you want the extracted body to be

For example C:\EMAILPro\CSDMC2010_SPAM\TEST_NEW

4, we are done.

  • email_input.py vectorize the emails text,and outputs trainX.csv, trainY.csv, testX.csv, and testY.csv
  • data.tar.gz contains trainX.csv, trainY.csv, testX.csv, and testY.csv
  • BagOfWords.p contains all unique words from the data to use it later
  • Spam detection.ipynb Ipython notebook that train the model and call emails from ur Gmails to classify

The email format description:

The format of the .eml file is definde in RFC822, and information on recent standard of email, i.e., MIME (Multipurpose Internet Mail Extensions) can be find in RFC2045-2049.

NOTE:

In the notebook U will find how the model works , and how to authenticate ur Gmail

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].