[Spambayes] Re: caching stuff

Tim Stone - Four Stones Expressions tim@fourstonesExpressions.com
Fri Nov 22 23:46:49 2002


11/22/2002 5:24:00 PM, "T. Alexander Popiel" <popiel@wolfskeep.com> wrote:

>In message:  <UR83D9KICAFEIERNXUMIUTFE0053X1Z.3ddea9ce@riven>
>             Tim Stone - Four Stones Expressions 
<tim@fourstonesExpressions.com
>> writes:
>>11/22/2002 3:51:16 PM, "T. Alexander Popiel" <popiel@wolfskeep.com> wrote:
>>
>>>In message:  <621ZJEWSC7YV2YB6GAPJPJNLZX7454IG.3dde9f4f@riven>
>>>             <tim@fourstonesExpressions.com> writes:
>>>
>>>        prob = spamratio / (hamratio + spamratio)
>>>        n = hamcount + spamcount
>>>        prob = (StimesX + n * prob) / (S + n)
>
>>But I think what you're saying is that it's possible to come up with the
>>same ratio with different raw numbers, like 2:5 and 4:10.  The ratio is
>>the same, but the prob is different? 
>
>Exactly!  Let's work it through with hamratios of 2:5 and 4:10, spamcount
>always 0:
>
>The initial version of prob = 0 / (.4 + 0) remains the same for both.
>However, the value of n is 2 in the first case and 4 in the second case.
>that means that the adjustment prob = (StimesX + n * prob) / (S + n)
>is different; StimesX / (S + 2) in one case, and StimesX / (S + 4) in
>the second.  Given the default S and X, that's .0918 and .0506.  A fairly
>significant difference.
>
>Does that help?

I humbly thank my teachers for their patience.  :)

Check the new code I'm checking into hammie-playground.  I think this is more 
what you're looking for.  Rob gave us some good food for thought, huh?

- TimS
>
>- Alex
>
>
- Tim
www.fourstonesExpressions.com 




More information about the Spambayes mailing list