Create a Target Array
Learn how to create the target array for the MNIST dataset.
We'll cover the following...
Construction of a target array
Now we need to turn these ideas into target arrays for the neural network training. We can see that if the label for a training example is , we need to create a target array for the output node where all the elements are small except the one corresponding to the label . That could look like:
...