]> piware.de Git - handwriting-recognition.git/commitdiff
Initial Neural network with forward feeding
authorMartin Pitt <martin@piware.de>
Sat, 29 Aug 2020 10:48:59 +0000 (12:48 +0200)
committerMartin Pitt <martin@piware.de>
Sun, 30 Aug 2020 09:40:25 +0000 (11:40 +0200)
Two hidden layers with parametrizable size. Two possible transfer
functions, defaulting to reLU for now.

Initialize weights and biases randomly. This gives totally random
classifications of course, but at least makes sure that the data
structures and computations work.

Also already add a function to recognize the test images and count
correct ones. Without trainingh, 10% of the samples are expected to be
right by pure chance.


No differences found