Database of handwritten digits commonly used for training image processing systems

Originator: Yann LeCun, Corinna Cortes, and Christopher J.C. Burges

(60000 elements)

Examples

Basic Examples

Retrieve the ResourceObject:

In[1]:=
ResourceObject["MNIST"]
Out[1]=

View the data:

In[2]:=
RandomSample[ResourceData["MNIST"], 30]
Out[2]=

Visualization

Create a 3D image by stacking digit images:

In[3]:=
Image3D[ColorNegate /@ RandomSample[
   First /@ Cases[ResourceData["MNIST"], HoldPattern[_ -> 3]], 50]]
Out[3]=

Analysis

Train and test a classifier:

In[4]:=
classifier = Classify[ResourceData["MNIST", "TrainingData"]]
Out[4]=
In[5]:=
tests = First /@ RandomSample[ResourceData["MNIST", "TestData"], 10]
Out[5]=
In[6]:=
classifier[tests]
Out[6]=

Wolfram Research, "MNIST" from the Wolfram Data Repository (2016)   https://doi.org/10.24097/wolfram.62081.data

Data Resource History

Source Metadata

Publisher Information