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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30c6c87e3baecb826ff137907c76416431180a06dc07a45e916d77f8d160ff65
|
|
| MD5 |
f8ba09f3fb2cd922f2b678e4b32b61ba
|
|
| BLAKE2b-256 |
c730bb7a477d66f8a409c7b3ad37537e17e4f218faef8a05edff860cc2b2441e
|