http://bugzilla.spamassassin.org/show_bug.cgi?id=3429





------- Additional Comments From [EMAIL PROTECTED]  2004-05-26 13:35 -------
Subject: Re:  New: bayes scores

> More effective will be next logarithmic rules
> 
> score BAYES_007  from 0  to exp(-5)
> score BAYES_018  from exp(-5) to exp(-4)
> score BAYES_049  from exp(-4) to exp(-3)
> score BAYES_135  from exp(-3) to exp(-2)
> score BAYES_367  from exp(-2) to 1 - exp(-2)
> score BAYES_633
> score BAYES_865
> score BAYES_951
> score BAYES_982
> score BAYES_993  from 1-exp(-5) to 1

I like the concept.  I pretty much ended up with an experimentally
derived ranging in 3.0 that is not too different.  I'm willing to give
yours a look:

current:

body BAYES_00           eval:check_bayes('0.00', '0.01')
body BAYES_05           eval:check_bayes('0.01', '0.05')
body BAYES_10           eval:check_bayes('0.05', '0.20')
body BAYES_25           eval:check_bayes('0.20', '0.40')
body BAYES_50           eval:check_bayes('0.40', '0.60')
body BAYES_75           eval:check_bayes('0.60', '0.80')
body BAYES_90           eval:check_bayes('0.80', '0.95')
body BAYES_95           eval:check_bayes('0.95', '0.99')
body BAYES_99           eval:check_bayes('0.99', '1.00')

 0.000000-0.010000 39.550
 0.010000-0.050000  0.579
 0.050000-0.200000  0.306 <- thin
 0.200000-0.400000  0.318 <- thin
 0.400000-0.600000  4.385
 0.600000-0.800000  1.337
 0.800000-0.950000  1.401
 0.950000-0.990000  1.200
 0.990000-1.000000 50.923

new

 0.000000-0.006738 39.485
 0.006738-0.018316  0.159 <- thin
 0.018316-0.049787  0.441 <- thin
 0.049787-0.135335  0.258 <- thin
 0.135335-0.367879  0.352 <- thin
 0.367879-0.632121  4.717
 0.632121-0.864665  1.511
 0.864665-0.950213  0.960
 0.950213-0.981684  0.779
 0.981684-0.993262  0.697
 0.993262-1.000000 50.641

I think some of the ranges are too empty.  Let's try:

0 to exp(-8)
exp(-4) to exp(-2)
exp(-2) to exp(-1)
exp(-1) to 1-exp(-1)
1-exp(-1) to 1-exp(-2)
1-exp(-2) to 1-exp(-4)
1-exp(-4) to 1-exp(-8)
1-exp(-8) to 1

 0.000000-0.000335 39.046
 0.000335-0.018316 0.598
 0.018316-0.135335 0.699
 0.135335-0.367879 0.352
 0.367879-0.632121 4.717
 0.632121-0.864665 1.511
 0.864665-0.981684 1.739
 0.981684-0.999665 2.450
 0.999665-1.000000 48.888

That's better.  Maybe we could...





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to