[Spambayes-checkins] spambayes cvcost.py,1.1,1.2
Rob W.W. Hooft
hooft@users.sourceforge.net
Sun, 13 Oct 2002 12:13:49 -0700
Update of /cvsroot/spambayes/spambayes
In directory usw-pr-cvs1:/tmp/cvs-serv11826
Modified Files:
cvcost.py
Log Message:
added filename to output
Index: cvcost.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/cvcost.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** cvcost.py 13 Oct 2002 18:01:48 -0000 1.1
--- cvcost.py 13 Oct 2002 19:13:47 -0000 1.2
***************
*** 108,112 ****
bestcost=trial
sys.stdout.write("\n")
! print "Optimal cost is $%.1f with grey zone between %.1f and %.1f"%(bestcost,besthamcut,bestspamcut)
if __name__=="__main__":
--- 108,112 ----
bestcost=trial
sys.stdout.write("\n")
! print "%s: Optimal cost is $%.1f with grey zone between %.1f and %.1f"%(fn,bestcost,besthamcut,bestspamcut)
if __name__=="__main__":