solution to 02

This commit is contained in:
pswietojanski 2015-10-26 12:25:13 +00:00
parent 8be093a608
commit ea7f740e7c

View File

@ -295,8 +295,8 @@
"# and mean square error cost\n",
"cost = MSECost()\n",
"model = MLP(cost=cost)\n",
"model.add_layer(Linear(idim=784, odim=100, rng=rng))\n",
"model.add_layer(Linear(idim=100, odim=10, rng=rng))\n",
"model.add_layer(Linear(idim=784, odim=200, rng=rng))\n",
"model.add_layer(Linear(idim=200, odim=10, rng=rng))\n",
"\n",
"# define the optimiser, here stochasitc gradient descent\n",
"# with fixed learning rate and max_epochs as stopping criterion\n",