src/mnist.js
function shuffle(v) {
  for (var j, x, i = v.length; i; j = parseInt(Math.random() * i), x = v[--i], v[i] = v[j], v[j] = x);
  return v;
}
function shuffle(v) {
  for (var j, x, i = v.length; i; j = parseInt(Math.random() * i), x = v[--i], v[i] = v[j], v[j] = x);
  return v;
}
function shuffle ( v ) { for ( var j , x , i = v . length ; i ; j = parseInt ( Math . random ( ) * i ) , x = v [ -- i ] , v [ i ] = v [ j ] , v [ j ] = x ) ; return v ; }
+ Jonas Raoni Soares Silva @ http://jsfromhell.com/array/shuffle [rev. #1]
+ Jonas Raoni Soares Silva