diff baseline/log_reg/log_reg.py @ 271:a92ec9939e4f

fixed a problem with maxsize when not provided
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Sun, 21 Mar 2010 19:30:05 -0400
parents c24020aa38ac
children 5541056d3fb0
line wrap: on
line diff
--- a/baseline/log_reg/log_reg.py	Sat Mar 20 15:49:55 2010 -0400
+++ b/baseline/log_reg/log_reg.py	Sun Mar 21 19:30:05 2010 -0400
@@ -142,7 +142,7 @@
 #--------------------------------------------------------------------------------------------------------------------
 
 def log_reg( learning_rate = 0.13, nb_max_examples =1000000, batch_size = 50, \
-                    dataset=datasets.nist_digits, image_size = 32 * 32, nb_class = 10,  \
+                    dataset=datasets.nist_digits(), image_size = 32 * 32, nb_class = 10,  \
                     patience = 5000, patience_increase = 2, improvement_threshold = 0.995):
     
     #28 * 28 = 784