[Spambayes] Better optimization loop

Rob Hooft rob@hooft.net
Sat Nov 16 05:46:19 2002


Rob Hooft wrote:
> Rob Hooft wrote:
> 
>>
>> I am currently running:
>>
>>   python2.3 simplexloop.py -c 'python2.3 timcv.py -n 10 \
>>      --spam-keep=600 --ham-keep=600 -s 12345' > simplexloop.out
>>
> 
> ....and it crashed at:
> 
> x=0.9680 p=-0.1297 s=0.9045 sc=1.055 hc=-0.919 33847.97
> x=0.9481 p=-0.1338 s=0.8958 sc=1.037 hc=-0.837 35574.58

It was caused by an infinitely silly bug in the costcount that made it 
into a proper function to maximize instead of minimize. I shouldn't do 
things in the middle of the night (nor at 6:30 in the morning, but I'm 
trying to fix the pain I may have caused...)

Rob

-- 
Rob W.W. Hooft  ||  rob@hooft.net  ||  http://www.hooft.net/people/rob/




More information about the Spambayes mailing list