You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by qu...@apache.org on 2004/06/11 02:30:16 UTC

svn commit: rev 21041 - incubator/spamassassin/trunk/masses

Author: quinlan
Date: Thu Jun 10 17:30:15 2004
New Revision: 21041

Modified:
   incubator/spamassassin/trunk/masses/logs-to-c
Log:
more clean-up of output


Modified: incubator/spamassassin/trunk/masses/logs-to-c
==============================================================================
--- incubator/spamassassin/trunk/masses/logs-to-c	(original)
+++ incubator/spamassassin/trunk/masses/logs-to-c	Thu Jun 10 17:30:15 2004
@@ -435,9 +435,6 @@
 }
 
 sub evaluate {
-   my $fprate = ($ga_ny / $num_tests) * 100.0;
-   my $fnrate = ($ga_yn / $num_tests) * 100.0;
-
    printf ("\n# SUMMARY for threshold %3.1f:\n", $threshold);
    printf "# Correctly non-spam: %6d  %4.2f%%\n",
        $ga_nn, ($ga_nn /  $num_ham) * 100.0;
@@ -467,7 +464,7 @@
 
   my $sr = ($nspamspam / $nspam) * 100.0;
   my $sp = ($nspamspam / ($nspamspam + $nlegitspam)) * 100.0;
-  printf "# TCR: %3.6f  SpamRecall: %3.3f%%  SpamPrec: %3.3f%%  FP: %3.2f%%  FN: %3.2f%%\n", $tcr, $sr, $sp, $fprate, $fnrate;
+  printf "# TCR: %3.6f  SpamRecall: %3.3f%%  SpamPrec: %3.3f%%", $tcr, $sr, $sp;
 }
 
 __DATA__

Re: svn commit: rev 21041 - incubator/spamassassin/trunk/masses

Posted by Duncan Findlay <du...@debian.org>.
On Thu, Jun 10, 2004 at 05:47:43PM -0700, Justin Mason wrote:
> eh, why drop the FP/FN from the summary line?  and it's missing
> a newline ;)
> 
> quinlan@apache.org writes:
> > Author: quinlan
> > Date: Thu Jun 10 17:30:15 2004
> > New Revision: 21041
> > 
> > Modified:
> >    incubator/spamassassin/trunk/masses/logs-to-c
> > Log:
> > more clean-up of output
> > 

Aren't these changes supposed to be R-T-C?

-- 
Duncan Findlay

Re: svn commit: rev 21041 - incubator/spamassassin/trunk/masses

Posted by Duncan Findlay <du...@debian.org>.
On Thu, Jun 10, 2004 at 05:47:43PM -0700, Justin Mason wrote:
> eh, why drop the FP/FN from the summary line?  and it's missing
> a newline ;)
> 
> quinlan@apache.org writes:
> > Author: quinlan
> > Date: Thu Jun 10 17:30:15 2004
> > New Revision: 21041
> > 
> > Modified:
> >    incubator/spamassassin/trunk/masses/logs-to-c
> > Log:
> > more clean-up of output
> > 

Aren't these changes supposed to be R-T-C?

-- 
Duncan Findlay