small-mnist
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Small mnist dataset

600 training data and 100 test data of the mnist dataset. Meant to be small for quick demonstrations.

Install

npm install --save small-mnist

How to load

import { test, train } from 'small-mnist';

type of test and train is:

{
    "input"number[];      // monochrome pixels of e.g. letter 2 (1 or 0)
    "output"number[];     // e.g. [0, 0, 1, 0, 0, 0, 0, 0, 0, 0] (means 2)
    "label"number;        // e.g. 2
}[];

Input and output fields are in binary label not.

Author

Dugagjin Lashi

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i small-mnist

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

334 kB

Total Files

8

Last publish

Collaborators

  • dugagjinll