diff baseline/log_reg/log_reg.py @ 632:5541056d3fb0

merge
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Sat, 19 Mar 2011 22:49:33 -0400
parents a92ec9939e4f
children
line wrap: on
line diff
--- a/baseline/log_reg/log_reg.py	Thu Oct 14 15:52:02 2010 -0400
+++ b/baseline/log_reg/log_reg.py	Sat Mar 19 22:49:33 2011 -0400
@@ -306,13 +306,14 @@
 def jobman_log_reg(state, channel):
     print state
     (validation_error, test_error, nb_exemples, time) = log_reg( learning_rate = state.learning_rate, \
-                                                                                        nb_max_examples = state.nb_max_examples, \
-                                                                                                   batch_size  = state.batch_size,\
-                                                                                                    image_size = state.image_size,  \
-                                                                                                      nb_class  = state.nb_class, \
-                                                                                                   patience = state.patience, \
-                                                                                                    patience_increase = state.patience_increase, \
-                                                                                                    improvement_threshold = state.improvement_threshold ) 
+                                                                 nb_max_examples = state.nb_max_examples, \
+                                                                 dataset=eval(state.dataset), \
+                                                                 batch_size  = state.batch_size,\
+                                                                 image_size = state.image_size,  \
+                                                                 nb_class  = state.nb_class, \
+                                                                 patience = state.patience, \
+                                                                 patience_increase = state.patience_increase, \
+                                                                 improvement_threshold = state.improvement_threshold ) 
                                                                                                     
                                                                                                    
     print state