Reading @neauoire's posts about character input, got me wondering if it is possible to do character recognition with neural networks inside UXN.
After a few hours of work, the answer is: Yeah, kind of (?)
As a proof of concept I implemented a 3 layer neural network trained on MNIST.
Since UXN has limited memory and no floating point operations, I decided to use a binary neural network: Each weight & activation is quantized to a single bit.
#uxn
Devine Lu Linvega
in reply to Can Lehmann • • •Can Lehmann
in reply to Devine Lu Linvega • • •Note that this is the first version of this code that worked at all, there are still lots of improvements (the first of which would be using an argmax(...) function to find the correct output, training longer than a few minutes might also help). The example above is slightly cherry picked 😄
https://gist.github.com/can-lehmann/6a6fd92fc54f7416de6ffbca29774187
mnist.tal
GistCan Lehmann
in reply to Can Lehmann • • •Devine Lu Linvega
in reply to Can Lehmann • • •Can Lehmann
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Can Lehmann • • •Can Lehmann
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to Can Lehmann • • •