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.3.tar.gz (5.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for python-mnist-0.3.tar.gz
Algorithm Hash digest
SHA256 30c6c87e3baecb826ff137907c76416431180a06dc07a45e916d77f8d160ff65
MD5 f8ba09f3fb2cd922f2b678e4b32b61ba
BLAKE2b-256 c730bb7a477d66f8a409c7b3ad37537e17e4f218faef8a05edff860cc2b2441e

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page