# HG changeset patch
# User Arnaud Bergeron <abergeron@gmail.com>
# Date 1269899641 14400
# Node ID 6eab220a7d7038af1056f62f41e52b166e21e774
# Parent  a9af079892ce2a36c218387aa18c540b89412183
Adjust sgd_opt parameters and use nist_all.

diff -r a9af079892ce -r 6eab220a7d70 deep/convolutional_dae/run_exp.py
--- a/deep/convolutional_dae/run_exp.py	Mon Mar 29 17:42:44 2010 -0400
+++ b/deep/convolutional_dae/run_exp.py	Mon Mar 29 17:54:01 2010 -0400
@@ -18,7 +18,7 @@
     # TODO: maybe record pynnet version?
     channel.save()
 
-    dset = datasets.nist_digits()
+    dset = datasets.nist_all()
 
     nfilts = []
     if state.nfilts1 != 0:
@@ -61,10 +61,10 @@
     print "training ..."
     sys.stdout.flush()
     best_valid, test_score = sgd_opt(train, valid, test,
-                                     training_epochs=100000, patience=10000,
+                                     training_epochs=1000000, patience=2500,
                                      patience_increase=2.,
                                      improvement_threshold=0.995,
-                                     validation_frequency=1000,
+                                     validation_frequency=500,
                                      series=series, net=net)
     state.best_valid = best_valid
     state.test_score = test_score