Bug in tuning.sh?

Greg Louis glouis at dynamicro.on.ca
Fri Jun 13 12:50:54 CEST 2003


On 20030613 (Fri) at 1019:46 +0200, Boris 'pi' Piwinger wrote:
> Greg Louis wrote:
> 
> > The purpose of getco is to get the cutoff required for a given target
> > number of false positives.  The way it works is
> > 
> > Evaluate the nonspams with a cutoff of 0.10 so that most will be
> > treated as spam.
> > 
> > Sort the differences of those scores from 1 (which is how they are
> > printed by bogofilter).
> > 
> > Take the score that is $target values down from the top of that list;
> > if it's less than 0.000001, move down the list till we find one that
> > isn't.
> > 
> > Subtract that from 1 and return it as the cutoff to use when evaluating
> > spam.
> 
> OK, but if this is how it works, why is 0.1 given to the
> function as a parameter. It should be a constant defined in
> the function.
> 
Agreed.

-- 
| G r e g  L o u i s          | gpg public key: finger     |
|   http://www.bgl.nu/~glouis |   glouis at consultronics.com |
| http://wecanstopspam.org in signatures fights junk email |




More information about the Bogofilter mailing list