Skip to content
Surf Wiki
Save to docs
general/anti-spam

From Surf Wiki (app.surf) — the open knowledge base

SpamBayes


FieldValue
nameSpamBayes
authorTim Peters
releasedSeptember 2002
latest_release_version1.0.4
latest_release_dateMarch 2005
latest_preview_version1.1a6
latest_preview_date
programming_languagePython
platformCross-platform
languageEnglish only
genreE-mail filtering
licensePSFL
websitespambayes.sourceforge.net

SpamBayes is a Bayesian spam filter written in Python which uses techniques laid out by Paul Graham in his essay "A Plan for Spam". It has subsequently been improved by Gary Robinson and Tim Peters, among others.

The most notable difference between a conventional Bayesian filter and the filter used by SpamBayes is that there are three classifications rather than two: spam, non-spam (called ham in SpamBayes), and unsure. The user trains a message as being either ham or spam; when filtering a message, the spam filters generate one score for ham and another for spam.

If the spam score is high and the ham score is low, the message will be classified as spam. If the spam score is low and the ham score is high, the message will be classified as ham. If the scores are both high or both low, the message will be classified as unsure.

This approach leads to a low number of false positives and false negatives, but it may result in a number of unsures which need a human decision.

Web filtering

Some work has gone into applying SpamBayes to filter internet content via a proxy web server.

References

References

  1. "Download CHANGELOG.TXT (SpamBayes anti-spam)".
  2. Robinson, Gary. (1 March 2003). "A Statistical Approach to the Spam Problem".
  3. Montanaro, Skip. (2003-12-07). "[spambayes-dev] Web filtering".
  4. (7 December 2003). "[spambayes-dev] Web filtering".
  5. (6 November 2020). "OSDIR".
Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about SpamBayes — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report