Skip to main content

Python utilities to download and parse the MNIST dataset

Project description

The MNIST database is available at http://yann.lecun.com/exdb/mnist/

The MNIST database is a dataset of handwritten digits. It has 60,000 training samples, and 10,000 test samples. Each image is represented by 28x28 pixels, each containing a value 0 - 255 with its grayscale value.

It is a subset of a larger set available from NIST. The digits have been size-normalized and centered in a fixed-size image.

It is a good database for people who want to try learning techniques and pattern recognition methods on real-world data while spending minimal efforts on preprocessing and formatting.

There are four files available, which contain separately train and test, and images and labels.

Thanks to Yann LeCun, Corinna Cortes, Christopher J.C. Burges.

mnist makes it easier to download and parse MNIST files.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mnist-0.2.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

mnist-0.2.2-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mnist-0.2.2.tar.gz.

File metadata

  • Download URL: mnist-0.2.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for mnist-0.2.2.tar.gz
Algorithm Hash digest
SHA256 24934fade9fbbd8adc98713ba805282e7e579224e888169bb5c8ab777efa7b54
MD5 317fb25ad90c9d52001083cfc54639a3
BLAKE2b-256 852f2fe28e6a2e5053e7fd14084b76cf7b8bb5935c5ecb78618646ed692d70b0

See more details on using hashes here.

File details

Details for the file mnist-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: mnist-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for mnist-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 80e2b07992e5cc61e6247751ce8926f6d15ab3ebde1508d9bbc8891a766c7b91
MD5 e491991e07b9d878e81aa0054a2c8847
BLAKE2b-256 c6c45db3bfe009f8d71f1d532bbadbd0ec203764bba3a469e4703a889db8e5e0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page