An open API service indexing awesome lists of open source software.

https://github.com/mdvanes/hanoi

JS ANN
https://github.com/mdvanes/hanoi

Last synced: 3 months ago
JSON representation

JS ANN

Awesome Lists containing this project

README

        

![alt tag](https://raw.githubusercontent.com/mdvanes/Hanoi/master/logo_small.png)
--

A Javascript Artificial Neural Network

## phase 1

Arithmetics? Supervised classification? Is number x in set y?
A perceptron learns to perform a binary NAND function
on inputs x_1 \, and x_2 \,.

## phase 2

Recognize squares and circles (pattern recog.)

## phase 3

OCR

## Sources

* http://en.wikipedia.org/wiki/Perceptron
* http://en.wikibooks.org/wiki/Artificial_Neural_Networks/Print_Version
* http://en.wikipedia.org/wiki/Artificial_neural_network
* http://stackoverflow.com/questions/9429882/read-image-pixels
* http://blog.teamtreehouse.com/reading-files-using-the-html5-filereader-api

## Concept

It might be a good idea to start with visualisation: the supernode should run an admin dashboard (web interface).

A distributed NN can be made with serviceworkers (even multiple per node, i.e. browser) bound with WebRTC P2P (PeerJS).

Functional reactive code is optimal for streams of code. NNs provide a stream representing the calculation of the nodes.

Later on it might be an improvement to switch from Javascript/ES to WebAssembly.

## Other projects

Other projects that combine Neural Networks and Javascript:

* http://synaptic.juancazala.com/ The javascript architecture-free neural network library for node.js and the browser
* their github: https://github.com/cazala/synaptic
* http://cs.stanford.edu/people/karpathy/convnetjs/ ConvNetJS Deep Learning in your browser
* their guide to NN: http://karpathy.github.io/neuralnets/
* https://github.com/harthur/brain Neural networks in JavaScript