Article View: news.software.readers
Article #265284[slrn] experiment: can bayesian filtering score usenet posts?
From: Tavis Ormandy
Date: Mon, 20 Dec 2021 03:32
Date: Mon, 20 Dec 2021 03:32
31 lines
1849 bytes
1849 bytes
The problem with training spam filters with NNTP is that the protocol is designed around offering headers and bodies seperately. Sure, in theory you could just download everything at once, but then you lose all the performance benefits of the protocol. If you could just score on the XOVER headers, then you would still have all the protocol benefits, but is that enough data? I decided to try it, and the answer is it works! *but* it took a lot of training before it started to work. I used bogofilter (https://bogofilter.sourceforge.io/) and wrote a macro to pipe just the overview headers into it. It then auto-generates a scorefile. For the last few months, it has been really accurate at identifying the messages I want to read and I've been finding it really useful. If anyone else wants to try it out, here is the macro I used: https://lock.cmpxchg8b.com/files/bogofilter.sl The macro automatically learns any articles you read when you leave a group. If the message had a positive score, it learns them as good. If it has a very low score, it learns them as bad. Tavis. -- _o) $ lynx lock.cmpxchg8b.com /\\ _o) _o) $ finger taviso@sdf.org _\_V _( ) _( ) @taviso
Technical Details
Message-ID:
<j2abr7F1sctU1@mid.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <j2abr7F1sctU1@mid.individual.net> Subject: [slrn] experiment: can bayesian filtering score usenet posts? Date: Mon, 20 Dec 2021 03:32:55 +0000 From: Tavis Ormandy <taviso@gmail.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers Lines: 31 X-Trace: individual.net nexR7PMjT1Fj2X+H0E+gUA/4d+VJERzkjKY/IpqmnJT95Li87a Cancel-Lock: sha1:k6hzcpI3lOqkpUPLKmqCksmk5JI= User-Agent: slrn/pre1.0.4-5 (Linux)