• KS_BL_PROB showing 0.0000 even tho I have tokens

    By Matthew Smith 2 decades ago

    Got me nackered… Do you think kspam has forgotten how to add up :-)



    Now even weirder the static rules i've got are working fine… ie they show in the tokens and are added up in the prob.



    Anyone else seen this issue..?



    Here's an example



    Field Name: KS_BL_PROB

    Data Type: Text List

    Data Length: 10 bytes

    Seq Num: 1

    Dup Item ID: 0

    Field Flags: SUMMARY



    "0.0000"





    Field Name: KS_BL_TOKENS

    Data Type: Text List

    Data Length: 227 bytes

    Seq Num: 1

    Dup Item ID: 0

    Field Flags: SUMMARY



    "000: 0.0889"

    "html: 0.0724"

    "His: 0.0100"

    "sent: 0.0100"

    "Thompson: 0.0100"

    "National: 0.0100"

    "Science: 0.0100"

    "Thanks: 0.0100"

    "Ohio: 0.9900"

    "jpg: 0.0100"

    "page: 0.0100"

    "link: 0.0100"

    "length: 0.0100"

    "through: 0.0100"

    "text: 0.0100"

    • Adding up

      By Tom Lyne 2 decades ago

      kSpam does not "add up" the token probabilities, it combines them; that's why the total probability is 0.0 (in reality, it's a small enough number to be rounded down to 0).



      -tom

      • By Matthew Smith 2 decades ago

        ahhhhh thanks Tom.



        And yes, my spam sample is really small as I deleted it and started again, so thats likely whats causing it.



        Will throw lots more spam at it and see what happens.



        Matt