Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yzernik/spamfilter
Naive Bayes classifier for identifying spam
https://github.com/yzernik/spamfilter
Last synced: 9 days ago
JSON representation
Naive Bayes classifier for identifying spam
- Host: GitHub
- URL: https://github.com/yzernik/spamfilter
- Owner: yzernik
- Created: 2012-06-25T08:11:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-25T08:22:28.000Z (over 12 years ago)
- Last Synced: 2024-11-15T09:51:04.924Z (2 months ago)
- Language: Python
- Size: 11.6 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
spamfilter
==========Naive Bayes classifier for identifying spam
First, create the features file:
spamfilter.py -getfeaturesThen, create a boolean or ntf model:
spamfilter.py -makemodel [boolean or ntf]Then, test the boolean or ntf model:
spamfilter.py -testmodel [boolean or ntf] [cost_ratio]Then, filter a stripped email file with the boolean or ntf model and a cost ratio:
spamfilter.py -filteremail [boolean or ntf] [filename] [cost_ratio]