Using the MNIST Dataset
From Ufldl
(→Usage) |
(→Usage) |
||
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 | ||
- | % On some platforms, the files might be saved as train-images.idx3-ubyte / train-labels.idx1-ubyte | + | % On some platforms, the files might be saved as |
+ | % train-images.idx3-ubyte / train-labels.idx1-ubyte | ||
images = loadMNISTImages('train-images-idx3-ubyte'); | images = loadMNISTImages('train-images-idx3-ubyte'); | ||
labels = loadMNISTLabels('train-labels-idx1-ubyte'); | labels = loadMNISTLabels('train-labels-idx1-ubyte'); |