[Spambayes] Better optimization loop

T. Alexander Popiel popiel@wolfskeep.com
Wed Nov 20 23:33:45 2002


In message:  <w53r8dgymae.fsf@woozle.org>
             Neale Pickett <neale@woozle.org> writes:
>So then, "Rob W.W. Hooft" <rob@hooft.net> is all like:
>
>> Another speedup I could use is a version of Bayes that calculates the
>> spamprob from the numbers on demand instead of calculating them for
>> all words everytime. This pays of for all cases where the training
>> batch is very small (~1 message).
>
>Funny you should bring that up, Rob, because I happen to be working on
>exactly that.  The only way I could think to do it was to pass in a new
>option to Bayes.learn() and Bayes.unlearn().

Argh.  I was working on it, too... hence the patch I just sent out.
Oh, well... no big deal.  It looks like our implementations are
significantly different, though.  Might be worth looking at both
and seeing which is better.

- Alex



More information about the Spambayes mailing list