changeset 457:78ed4628071d

Rajout de la ligne qui compte le nombre de mini-batch (enleve precedemment)
author SylvainPL <sylvain.pannetier.lebeuf@umontreal.ca>
date Wed, 26 May 2010 20:25:39 -0400
parents 66b05c6077c7
children 5ead24fd4d49
files deep/stacked_dae/v_sylvain/sgd_optimization.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/deep/stacked_dae/v_sylvain/sgd_optimization.py	Wed May 26 20:24:16 2010 -0400
+++ b/deep/stacked_dae/v_sylvain/sgd_optimization.py	Wed May 26 20:25:39 2010 -0400
@@ -416,6 +416,7 @@
         train_score2 = numpy.mean(train_losses2)
         print 'On the ' + name + 'dataset'
         print(('\t the error is %f')%(train_score2*100.))
+        #print len(train_losses2)
         stderr = math.sqrt(train_score2-train_score2**2)/math.sqrt(len(train_losses2)*self.hp.minibatch_size)
         print (('\t the stderr is %f')%(stderr*100.))