Hi, On Tue, 13 Jan 2004, Dallas L. Engelken wrote:
> o.k... now a little off topic :) > > what would really be nice, is to be able to return a score from an > eval... instead of just true/false and then scoring based on a "score > RULENAME" line. > > that would prevent having to call an eval a dozen times with different > $min and $max values to determine what the score should be. i know most > evals return if $self->{eval_variable} exists, so it doesnt hamper > performance much if any when the same eval is called many times over.... > > i think the only big thing you loose doing something like that, is the > ability to see what rules fired, and the descriptions associated with > them. Since scores are generated by the GA based on the accuracy and frequency of rules being triggered, how do you accurately set scores for rules that generate a score dynamically? I think dynamically generated scores are a great idea but unless someone can come up with a workable solution to the above, I don't think they'll fly. The Bayesian, backhair/popcorn/weeds, and percent-HTML scores are essentially dynamically generated but they've been discretized to work around this scoring limitation. This is a Hard Problem, but one worth tackling IMHO. -- Bob ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk