GithubHelp home page GithubHelp logo

ocramz / mnist-idx-conduit Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 19 KB

conduit utilities for mnist-idx

License: BSD 3-Clause "New" or "Revised" License

Haskell 100.00%
mnist-dataset dataset on-line-learning streaming-data

mnist-idx-conduit's Introduction

mnist-idx-conduit

Conduit decoders for MNIST IDX data files, as described in http://yann.lecun.com/exdb/mnist/ .

The IDX format is a low-level binary representation for storing general vector, image or tensor data.

Here the parsers are specialized to the MNIST dataset, which stores scans of handwritten digits and is a classic benchmark for text classification.

mnist-idx-conduit's People

Contributors

ocramz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mnist-idx-conduit's Issues

Roundtrip test fails

Serialization (sinkIDX_ and functions using it) seems to be buggy, namely part of the header is not serialized correcly, leading to inconsistent deserialization. One can see it by running the test (stack test).

As a result of the test, a small IDX file is produced in the test/ folder.

The header is mostly correct, but the last field of the tuple shows a single element list whereas there should be two ([5, 2], as declared in ConduitSpec.writeData)

λ> readHeader "test/ConduitSpec_temp.idx"
(IDXMagic {idxType = IDXUnsignedByte, idxNumDims = 2},11,[5])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.