Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app
src
README.md
batchnorm.cabal
run.sh
stack.yaml

README.md

Batch normalization

Handwritten digit

This project's aim is to demonstrate batch normalization using handwritten digits recognition task as an example. Relevant documentation is in the tutorial about neural networks.

How To Build

  1. Install stack:

    $ wget -qO- https://get.haskellstack.org/ | sh
    

(alternatively, curl -sSL https://get.haskellstack.org/ | sh)

  1. Build and run MNIST benchmark on all available cores:

    $ ./run.sh
    
10 training epochs

Training accuracy (SGD + batchnorm) 100.0
Validation accuracy (SGD + batchnorm) 98.1

Training accuracy (SGD) 85.7
Validation accuracy (SGD) 85.8
You can’t perform that action at this time.