Bug in tuning.sh?

Boris 'pi' Piwinger 3.14 at logic.univie.ac.at
Fri Jun 13 10:19:46 CEST 2003


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.

pi





More information about the Bogofilter mailing list