Skip to main content

Simple MNIST data parser written in python

Project description

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()

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

python-mnist-0.2.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file python-mnist-0.2.tar.gz.

File metadata

  • Download URL: python-mnist-0.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-mnist-0.2.tar.gz
Algorithm Hash digest
SHA256 1e53dd1d4a000d425d599fec4b4599a4ac6e3217c2ba8a2886c53f32e186ec3f
MD5 21859b9c6440c409ba0c249f4d5ba0dc
BLAKE2b-256 0c0a3be7199f989238d2396e0a39bd30e191e3cd496d7a144cd27bfb30f3462c

See more details on using hashes here.

Supported by

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