[Spambayes-checkins] spambayes TestDriver.py,1.22,1.23

Tim Peters tim_one@users.sourceforge.net
Mon, 14 Oct 2002 11:04:59 -0700


Update of /cvsroot/spambayes/spambayes
In directory usw-pr-cvs1:/tmp/cvs-serv21633

Modified Files:
	TestDriver.py 
Log Message:
Add tags ('for all runs', etc) to best_cost output lines.


Index: TestDriver.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/TestDriver.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** TestDriver.py	14 Oct 2002 17:40:39 -0000	1.22
--- TestDriver.py	14 Oct 2002 18:04:56 -0000	1.23
***************
*** 90,94 ****
                  bests.append((h, s))
  
!     print '-> best cost $%.2f' % best_cost
      print '-> per-fp cost $%.2f; per-fn cost $%.2f; per-unsure cost $%.2f' % (
            FPW, FNW, UNW)
--- 90,94 ----
                  bests.append((h, s))
  
!     print '-> best cost for %s $%.2f' % (tag, best_cost)
      print '-> per-fp cost $%.2f; per-fn cost $%.2f; per-unsure cost $%.2f' % (
            FPW, FNW, UNW)