/clj_mnist

MNIST handwritten digit classification with Clojure.

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

clj_mnist

MNIST handwritten digit classification with clojure.

Train a neural network with a boot task, draw digits in a single page application and classify them in the web browser using the same code from the feedforward pass in the training process.

Walkthrough

  1. Train a network with boot train

Alt Text

  1. Drop the network.json spat out by the previous process into the web_resources folder. Then run a single page web app on localhost:3000 with boot run-web, draw some digits:
Alt Text Alt Text Alt Text
Alt Text Alt Text Alt Text
Alt Text Alt Text Alt Text

Usage

You must have docker installed on your system.

  1. docker build -t mnist .

  2. docker run -it -P --entrypoint='bash' --name mnist -v ${PWD}:/mnist mnist

  3. cd mnist

  4. boot train or boot run-web

License

Copyright © 2017 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.