diff stopper.py @ 478:0ea793361d85

stopper.find_min returns tuple instead of just best
author James Bergstra <bergstrj@iro.umontreal.ca>
date Fri, 24 Oct 2008 13:28:30 -0400
parents 40c8a46b3da7
children
line wrap: on
line diff
--- a/stopper.py	Fri Oct 24 13:28:00 2008 -0400
+++ b/stopper.py	Fri Oct 24 13:28:30 2008 -0400
@@ -54,7 +54,7 @@
             if stp.set_score:
                 stp.score = check()
                 if (stp.score < stp.best_score) and save:
-                    best = save()
+                    best = (save(), stp.iter, stp.score)
         return best