# HG changeset patch # User Owner # Date 1264706947 21600 # Node ID 827de2cc34f81dc9ca65c2f0909fd527eb8001c3 # Parent c91d9f70206d0a43b8ef6a71459c636c17f871f7 Error on the sign of the lower bound of the initialization of W2 diff -r c91d9f70206d -r 827de2cc34f8 code_tutoriel/mlp.py --- a/code_tutoriel/mlp.py Thu Jan 28 14:14:53 2010 -0500 +++ b/code_tutoriel/mlp.py Thu Jan 28 13:29:07 2010 -0600 @@ -83,7 +83,7 @@ # the output of uniform if converted using asarray to dtype # theano.config.floatX so that the code is runable on GPU W2_values = numpy.asarray( numpy.random.uniform( - low = numpy.sqrt(6./(n_hidden+n_out)), \ + low = -numpy.sqrt(6./(n_hidden+n_out)), \ high= numpy.sqrt(6./(n_hidden+n_out)),\ size= (n_hidden, n_out)), dtype = theano.config.floatX)