Skip to content

Train a LSTM neural network to detect spam text content with high accuracy

License

Notifications You must be signed in to change notification settings

lumbytyci/spam-filter

Repository files navigation

Build Status

Detect spam text content using LSTM networks

The gist of this project is to provide a rough stratregy to detect spam text content utilizing LSTM neural networks. Structure of the said neural network is as follows:
image
The goal of this implementation is to provide sufficient accuracy of spam text detection (~0.98 accuracy on the test portion of the data)

Reduce spam email traffic by employing proof of work

A simple solution (akin to Hashcash) is provided to limit spam email traffic - by making use of PoW before a client (potential spammer) sends an email.

Running

$ python spam_filter.py [path_to_weights_file]

If no weights are supplied, the application enters training mode

Tests

Run the tests with pytest

About

Train a LSTM neural network to detect spam text content with high accuracy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages