Attend the Women in ML Symposium on December 7 Register now

mnist

Stay organized with collections Save and categorize content based on your preferences.

The MNIST database of handwritten digits.

Split Examples
'test' 10,000
'train' 60,000
  • Feature structure:
FeaturesDict({
    'image': Image(shape=(28, 28, 1), dtype=uint8),
    'label': ClassLabel(shape=(), dtype=int64, num_classes=10),
})
  • Feature documentation:
Feature Class Shape Dtype Description
FeaturesDict
image Image (28, 28, 1) uint8
label ClassLabel int64

Visualization

  • Citation:
@article{lecun2010mnist,
  title={MNIST handwritten digit database},
  author={LeCun, Yann and Cortes, Corinna and Burges, CJ},
  journal={ATT Labs [Online]. Available: http://yann.lecun.com/exdb/mnist},
  volume={2},
  year={2010}
}