Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


Character recognition neural network on Ancient Brain

This is a neural network that learns from a database of images paired with what character is written in the image. After a while, it can recognise new images, that it never saw before, with 95 percent accuracy.

Then it tries to use that knowledge to recognise human handwriting. You can write characters in the browser and the network will recognise them with accuracy of maybe 60 percent, no matter who you are, and despite the fact that this network knows literally nothing at the start of the run.



Click to run World: Character recognition neural network at Ancient Brain.
  

  

Run the World

  

Results

  

Fetching the data

The first 1 hr 15 min of the Daniel Shiffman video is about just fetching the (huge) data set at run-time and including it in the JS. There are issues here both for Daniel Shiffman's version and the Ancient Brain version.

  

Other ways to upload the image database

After all the above, I had some new thoughts and discoveries:
  1. You can actually upload arbitrary binary data to Ancient Brain.
    • I realised that I allow file extensions for 3D models that could be re-used to upload any binary data.
    • An example would be .bin files used for 3D models.
    • You can rename MNIST or other binary data to .bin and it should upload.

  2. You can get the MNIST database in JSON/JS format.
    • mnist - Database of MNIST digits as JS files and JSON files. All plain text.
    • You can upload these files to Ancient Brain no problem.