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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spamfilter_avcourt-0.1.0.tar.gz
(347.5 kB
view hashes)
Built Distribution
Close
Hashes for spamfilter_avcourt-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff13b19f71d14086bf65291a544e8ca4855544a56c943ad1db38dfb948876e73 |
|
MD5 | cc31a2986cd01e55296b092d09ac9327 |
|
BLAKE2b-256 | 7a456e8f2038f360e98a0a6058b3b6eb11bb1e79d027807349f0d67de520c71b |