[Spambayes] Better optimization loop
Rob Hooft
rob@hooft.net
Sat Nov 16 05:34:29 2002
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.5698 p=0.0592 s=0.5238 sc=0.922 hc=0.031 65023.78
x=0.5899 p=0.0498 s=0.5485 sc=0.925 hc=-0.000 64856.12
x=0.6177 p=0.0300 s=0.5853 sc=0.934 hc=-0.065 60950.20
x=0.6002 p=0.0488 s=0.5679 sc=0.930 hc=-0.054 61612.61
x=0.6336 p=0.0320 s=0.5783 sc=0.939 hc=-0.107 58698.02
x=0.6799 p=0.0088 s=0.6141 sc=0.953 hc=-0.212 53820.35
x=0.6485 p=0.0253 s=0.6067 sc=0.953 hc=-0.164 56007.05
x=0.6802 p=0.0158 s=0.6332 sc=0.955 hc=-0.219 53535.36
x=0.7354 p=-0.0059 s=0.6879 sc=0.971 hc=-0.344 48832.47
x=0.7339 p=-0.0318 s=0.7062 sc=0.974 hc=-0.358 48426.74
x=0.8114 p=-0.0849 s=0.8000 sc=1.000 hc=-0.548 43010.31
x=0.7970 p=-0.0595 s=0.7497 sc=0.995 hc=-0.479 44800.35
x=0.8512 p=-0.0765 s=0.7981 sc=1.014 hc=-0.634 40904.48
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
i.e. it is reducing the cost by pulling ham_cutoff and spam_cutoff
infinitely far apart, but was stopped by a negative log....
I will think of a better flex cost, and start over...
Rob
--
Rob W.W. Hooft || rob@hooft.net || http://www.hooft.net/people/rob/
More information about the Spambayes
mailing list