4 ms·
See also the Paul Graham classics "A Plan For Spam" (2002) [0] and "Better Bayesian Filtering" (2003) [1]. Always love to see "simple" 20yo ideas find a new us
by samwillis 3y ago
See also the Paul Graham classics "A Plan For Spam" (2002) [0] and "Better Bayesian Filtering" (2003) [1].
Always love to see "simple" 20yo ideas find a new use case.
0: http://www.paulgraham.com/spam.html http://www.paulgraham.com/spam.html
1: http://www.paulgraham.com/better.html http://www.paulgraham.com/better.html
- deepspace 3y agoBack in the day, I ran my own email server, and dealing with spam was a constant pain in the butt. I wrote a spam filter, based on source addresses, "spammy" keywords and such, but it was about as effective as you would expect. Most spam had to be classified manually. When I first read "A Plan For Spam", I sat down and wrote a Bayes classifier (pretty much a straightforward implementation of his proposal) in a couple of hours. Due to running my own server, I had a ready-made corpus of hand-curated spam and ham on which to train the classifier. It worked astonishingly well, and I ran that classifier unmodified for another couple of years, until SpamAssassin became good.