s: [10000x1 uint8]</span>
  h = 28; w = 28; d= h*w;
  ndx = find(mnist.train_labels==3);
  ndx = ndx(1:1000); n = length(ndx);
  X = double(reshape(mnist.train_images(:,:,ndx),[d n]))';
  name = <span class="string">'mnist3'</span>
<span class="keyword">end</span>

<span class="keyword">if</span> 1
  loadData(<span class="string">'olivettiFaces'</span>); <span class="comment">% 0 to 255, from http://www.cs.toronto.edu/~roweis/data.html</span>
  X=faces'; clear <span class="string">faces</span>; <span class=