ry</p><!--/introduction--><pre class="codeinput"><span class="comment">% This file is from pmtk3.googlecode.com</span>

setSeed(0);

<span class="keyword">if</span> 0
  loadData(<span class="string">'mnistAll'</span>); <span class="comment">% mnist structure</span>
  <span class="comment">%train_images: [28x28x60000 uint8]  0 to 255</span>
  <span class="comment">%   test_images: [28x28x10000 uint8]</span>
  <span class="comment">%  train_labels: [60000x1 uint8]</span>
  <span class="comment">%   test_label