changeset 1287:4fa2a32e8fde

mcRBM - renamed shared variable
author James Bergstra <bergstrj@iro.umontreal.ca>
date Wed, 29 Sep 2010 18:34:47 -0400
parents 8905186b176c
children a165f2666643
files pylearn/algorithms/mcRBM.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/algorithms/mcRBM.py	Thu Sep 23 19:12:52 2010 -0400
+++ b/pylearn/algorithms/mcRBM.py	Wed Sep 29 18:34:47 2010 -0400
@@ -688,7 +688,7 @@
         # TODO: should normVF be initialized to match the size of rbm.U ?
 
         if (l1_penalty_start > 0) and (l1_penalty != 0.0):
-            effective_l1_penalty = sharedX(0.0, 'l1_penalty')
+            effective_l1_penalty = sharedX(0.0, 'effective_l1_penalty')
         else:
             effective_l1_penalty = l1_penalty