Read digits and labels from MNIST database

Version 1.0.0.0 (1.77 KB) by Sid H
Read digits from MNIST database available on http://yann.lecun.com/exdb/mnist/
10K Downloads
Updated 20 May 2010

View License

Read digits and labels from raw MNIST data files
File format as specified on http://yann.lecun.com/exdb/mnist/
Note: The 4 pixel padding around the digits will be remove
Pixel values will be normalised to the [0...1] range

Cite As

Sid H (2026). Read digits and labels from MNIST database (https://www.mathworks.com/matlabcentral/fileexchange/27675-read-digits-and-labels-from-mnist-database), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Digital Input and Output in Help Center and MATLAB Answers
Tags Add Tags
Version Published Release Notes
1.0.0.0