]> piware.de Git - handwriting-recognition.git/log
handwriting-recognition.git
4 years agoAdd backpropagation and first round of learning
Martin Pitt [Sat, 29 Aug 2020 11:31:25 +0000 (13:31 +0200)]
Add backpropagation and first round of learning

4 years agoMove forward feeding to sigmoid
Martin Pitt [Sat, 29 Aug 2020 13:01:24 +0000 (15:01 +0200)]
Move forward feeding to sigmoid

Let's comare it to reLU later on.

4 years agoInitial Neural network with forward feeding
Martin Pitt [Sat, 29 Aug 2020 10:48:59 +0000 (12:48 +0200)]
Initial Neural network with forward feeding

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.

4 years agoRearange image vector
Martin Pitt [Sat, 29 Aug 2020 05:45:10 +0000 (07:45 +0200)]
Rearange image vector

Put each image into a column instead of a row, which works much better
with the standard formulation of backpropagation algorithms.

4 years agoRead MNIST db into numpy arrays, display
Martin Pitt [Fri, 28 Aug 2020 06:18:29 +0000 (08:18 +0200)]
Read MNIST db into numpy arrays, display

4 years agoAdd script to download MNIST digit database
Martin Pitt [Fri, 28 Aug 2020 04:46:51 +0000 (06:46 +0200)]
Add script to download MNIST digit database

4 years agoREADME.md: First steps and resources
Martin Pitt [Fri, 28 Aug 2020 05:37:04 +0000 (07:37 +0200)]
README.md: First steps and resources