Floating point errors?

Pavel Kankovsky peak at argo.troja.mff.cuni.cz
Wed Jul 11 14:03:03 CEST 2007


On Sun, 8 Jul 2007, Ingomar Wesp wrote:

> | X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3
> |                                        n    pgood     pbad      fw     U
> |  "Aktien"                             51       nan  0.001999       nan -
> |  "Anlageempfehlung"                   25       nan  0.000980       nan -
> |  "Frankfurt"                         163       nan  0.006388       nan -
> |  "fuer"                              351       inf  0.012462  0.000026 +
> 
> | > bogoutil -w ~/.bogofilter Aktien Anlageempfehlung Frankfurt fuer
> |                                  spam   good
> | Aktien                             51      0
> | Anlageempfehlung                   25      0
> | Frankfurt                         163      0
> | fuer                              318     33

It looks as if the total number of ham tokens (.MSG_COUNT) was zero.
33/0 = inf, 0/0 = nan.

--Pavel Kankovsky aka Peak  [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."




More information about the Bogofilter mailing list