You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/tutorial-deep-learning-on-mnist.md
+22-2
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,13 @@ Your deep learning model — one of the most basic artificial neural networks th
19
19
20
20
Based on the image inputs and their labels ([supervised learning](https://en.wikipedia.org/wiki/Supervised_learning)), your neural network will be trained to learn their features using forward propagation and backpropagation ([reverse-mode](https://en.wikipedia.org/wiki/Automatic_differentiation#Reverse_accumulation) differentiation). The final output of the network is a vector of 10 scores — one for each handwritten digit image. You will also evaluate how good your model is at classifying the images on the test set.
21
21
22
-

22
+
 (with the author's permission).
25
31
@@ -165,6 +171,9 @@ for sample, ax in zip(rng.choice(x_train, size=num_examples, replace=False), axe
165
171
ax.imshow(sample.reshape(28, 28), cmap='gray')
166
172
```
167
173
174
+
_Above are five images taken from the MNIST training set. Various hand-drawn
175
+
Arabic numerals are shown, with exact values chosen randomly with each run of the code._
176
+
168
177
> **Note:** You can also visualize a sample image as an array by printing `x_train[59999]`. Here, `59999` is your 60,000th training image sample (`0` would be your first). Your output will be quite long and should contain an array of 8-bit integers:
169
178
>
170
179
>
@@ -334,7 +343,14 @@ Afterwards, you will construct the building blocks of a simple deep learning mod
334
343
335
344
Here is a summary of the neural network model architecture and the training process:
336
345
337
-

346
+
347
+
. Other possible solutions are discussed below.
0 commit comments