changeset 241:c24020aa38ac

fix call to log_reg
author Myriam Cote <cotemyri@iro.umontreal.ca>
date Tue, 16 Mar 2010 11:21:55 -0400
parents f213a0fb2b08
children 3c54cb3713ef
files baseline/log_reg/log_reg.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/baseline/log_reg/log_reg.py	Tue Mar 16 10:52:04 2010 -0400
+++ b/baseline/log_reg/log_reg.py	Tue Mar 16 11:21:55 2010 -0400
@@ -308,12 +308,13 @@
     (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,\
-                                                                                               dataset_name = state.dataset_name, \
                                                                                                     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
     state.validation_error = validation_error
     state.test_error = test_error