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