public MnistDataFetcher() throws IOException {
if (!new File("/tmp/mnist").exists()) {
new MnistFetcher().downloadAndUntar();
}
man = new MnistManager( "/tmp/MNIST/" + MnistFetcher.trainingFilesFilename_unzipped, "/tmp/MNIST/" + MnistFetcher.trainingFileLabelsFilename_unzipped );
numOutcomes = 10;
totalExamples = NUM_EXAMPLES;
//1 based cursor
cursor = 1;
man.setCurrent(cursor);