Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How are the scores assigned?

SA's In SpamAssassin 2.x, the scores are assigned using a genetic algorithm (GA). In SpamAssassin 3.x, the scores are assigned using a perceptron learner. Both systems attempt to optimise their efficiency and minimise the efficiency of the rules which are run, while also minimising the number of false positives and false negatives. More information can be found on the 'Tests' page. Note that you can help this system by providing statistics on your mail spool.

...

Note: Scores for "learn" rules, such as BAYES_*, that rate the probability that a message is spam, are scored using the same method. This can produce "confusing" scores, for instance, that have BAYES_80 with a higher score than BAYES_99. There are a few reasons for this. 1) The GA score generation system does not understand that BAYES_* are related to one another, they're separate rules that need separate scores. 2) More importantly, the higher the probability from a "learn" rule, the higher likelihood that the message also hit a bunch of other rules. This lets the GA score generation system lower the "learn" rule score due to the inevitable false positive, while also still marking the message as spam via the other sum of all rule scores.