February 2019
Intermediate to advanced
260 pages
6h 3m
English
To test the accuracy of the network, we construct another dataset for testing. We evaluate this model with what we've learned so far and print the statistics. If the accuracy of the network is more than 97%, we stop there and save the model to use for the graphical user interface that we will study later on. Execute the following code:
if (mnistTest == null) { mnistTest = new MnistDataSetIterator(MINI_BATCH_SIZE, false, SEED); }
The cost function is being printed and if you observe it closely, it gradually decreases through the iterations. From time to time, we have a peak in the value of the cost function. This is a characteristic of the mini-batch gradient descent. The final output of the first ...
Read now
Unlock full access