39 
Iter: 200: 0.171004 0.047117 
Iter: 300: 0.119551 0.037094 
Iter: 400: 0.091825 0.024946 
Iter: 500: 0.080097 0.024165 
Iter: 600: 0.067927 0.019668 
Iter: 700: 0.077423 0.025204 
Iter: 800: 0.063537 0.019559 
Iter: 900: 0.065999 0.020782 
Iter: 1000: 0.045626 0.012953 
</pre><img vspace="5" hspace="5" src="demoMNIST_02.png" alt=""> <h2>calculate test error<a name="7"></a></h2><pre class="codeinput">testlenet = lenet;
testlenet{1}.fName = testImages;
testlenet{2}.fName = testLabels;
testNet = ConvNet(te