Skip to main content

python-mnist

Simple MNIST data parser written in python.

MNIST is a database of handwritten digits available on http://yann.lecun.com/exdb/mnist/.

Requirements

  • Python 2 or Python 3

Usage

  • git clone https://github.com/sorki/python-mnist

  • cd python-mnist

  • Get MNIST data:

    ./get_data.sh
  • Check preview with:

    PYTHONPATH=. ./bin/mnist_preview

Installation

Get the package from PyPi:

pip install python-mnist

or install with setup.py:

python setup.py install

Code sample:

from mnist import MNIST
mndata = MNIST('./dir_with_mnist_data_files')
mndata.load_training()
mndata.load_testing()

Release files for python-mnist 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-mnist 0.2
File Size Uploaded
python-mnist-0.2.tar.gz 4.0 kB Details

Release files / python-mnist-0.2.tar.gz

Download URL python-mnist-0.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1e53dd1d4a000d425d599fec4b4599a4ac6e3217c2ba8a2886c53f32e186ec3f
BLAKE2b-256 checksum
How to use checksums
0c0a3be7199f989238d2396e0a39bd30e191e3cd496d7a144cd27bfb30f3462c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.7

2 release files

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

This release

0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page