Using the MNIST Dataset

From Ufldl

Jump to: navigation, search
(Usage: Corrected path names)
Line 10: Line 10:
<syntaxhighlight>
<syntaxhighlight>
% Change the filenames if you've saved the files under different names
% Change the filenames if you've saved the files under different names
-
images = loadMNISTImages('train-images-idx3-ubyte');
+
images = loadMNISTImages('train-images.idx3-ubyte');
-
labels = loadMNISTLabels('train-labels-idx1-ubyte');
+
labels = loadMNISTLabels('train-labels.idx1-ubyte');
% We are using display_network from the autoencoder code
% We are using display_network from the autoencoder code

Revision as of 18:07, 28 April 2011

Personal tools