[Spambayes] [Suggestion] Prevent redundant trains

Tobias Gödderz t.goedderz at gmx.net
Mon Jun 7 05:32:52 EDT 2004


Hi.

It seems suggestive to prevent redundant trains on the same mail,
especially while training on mbox or dbox files. Perhaps checksums
should be saved and, before training on a new message, be checked.

Tobias
-- 
j();sub j{$_=&p;sub p3{'81461380'}while(s/^(\d{3})(\d*)$/$2/){$s='0.'.$1;push at a,
atan2($s,sqrt(1-$s*$s))}sub p{&p1.&p2.&p3}sub p1{'30531437032492049655'}for(@a){
push at b,chr sprintf"%.0f",(100*$_);}$s=join'', at b;print$s^uc("u"x24);}sub p2{'%f';
hex'13012428';'65483245724613809200494613805399205724965145'}#by Tobias Goedderz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/spambayes/attachments/20040607/ad09f4d5/attachment.bin


More information about the Spambayes mailing list