Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions MLP_theano_with_comments.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
"# These are hyperparameters to play with.\n",
"# Bias starting as zero is fine.\n",
"import numpy.random as rng\n",
"import numpy\n",

"W_x = numpy.asarray(rng.normal(loc=0.0, scale=.05, size=(28*28, 500)), dtype=theano.config.floatX)\n",
"b_h = numpy.zeros(shape=(500,), dtype=theano.config.floatX)\n",
"\n",
Expand Down