SpamAssassin's scores are assigned using a genetic algorithm. See RescoringProcess for details.
A good intro on genetic algoirthmns can be found here: http://lancet.mit.edu/~mbwall/presentations/IntroToGAs/
Yes, yes, and RescoringProcess points back here when it mentions the genetic algorithm...can anyone describe how the algorithm itself works?