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.
- Train a network with
boot train
- Drop the
network.json
spat out by the previous process into theweb_resources
folder. Then run a single page web app onlocalhost:3000
withboot run-web
, draw some digits:
You must have docker installed on your system.
-
docker build -t mnist .
-
docker run -it -P --entrypoint='bash' --name mnist -v ${PWD}:/mnist mnist
-
cd mnist
-
boot train
orboot run-web
Copyright © 2017 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.