Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Simple Bayesian Spamfilter

Project description

Spamfilter

A Naive Bayesian spam classifier in Python

This is a reimplementation of my previous spamfilter that I had written in Ruby.

Once again, I have included small training and testing directories to illustrate usage. To get reasonable accuracy, larger training sets must be used, although the accuracy was surprisngly high even with these miniscule datasets. The included emails have been preprocessed to remove the headers and footers. You can experiment and see what provides higher accuracy.

At the moment, the email directory is hardcoded and uses *nix pathnames.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for spamfilter-avcourt, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size spamfilter_avcourt-0.1.0-py3-none-any.whl (2.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size spamfilter_avcourt-0.1.0.tar.gz (347.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page