https://github.com/statusfailed/mnist-data
https://github.com/statusfailed/mnist-data
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/statusfailed/mnist-data
- Owner: statusfailed
- License: mit
- Created: 2020-01-28T10:53:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T17:04:39.000Z (almost 6 years ago)
- Last Synced: 2025-01-31T08:19:01.360Z (about 1 year ago)
- Language: Haskell
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Data.MNIST
This package:
- `Data.Binary` instances for [MNIST data](http://yann.lecun.com/exdb/mnist/)
- Didn't use [mnist-idx][mnist-idx] because no support for pixels stored as
`Word8`
- Works lazily
- Demo in `Main.hs` which prints the dataset and its labels.
[mnist-idx]: https://hackage.haskell.org/package/mnist-idx-0.1.2.8/docs/Data-IDX.html
# Example usage
In the package root,
cabal repl
:l Main
:main ./data/images ./data/labels
Where `./data/images` and `./data/labels` contain (unzipped) MNIST images and
labels, respectively.