Bez popisu

Jason Xing 75fada2787 Merge branch 'feature-readme' of xing/BrainJS-examples into develop před 3 roky
Readme.md e51318af06 Update 'Readme.md' před 3 roky
brain-browser.js 56b8385261 Add RNN test example před 3 roky
brain-js.test-01.html 559e6a4234 Fix: test 01 is useful after delete net options před 3 roky
brain-js.test-02-RNN.html 56b8385261 Add RNN test example před 3 roky
brain-js.test-03-LSTM-math.html b3a4057feb Add LSTM test case před 3 roky

Readme.md

Brain.js Tests for Fun

Brain.js support browser GPU to run Neural Network. Based on the example from its document, here are some example to show how to use it in local browser.

1 - Neural Network

A basic example to solve XOR operation by neural network to show how simple can be to use brain.js for this function.

2 - RNN

The same XOR operation with much complex configuration of RNN structure with additional configuration to show how to set the options and change network structure.

3 - LSTM

Long-short time memory network is good solve linguistic problems. Here is use add operation to simulate them. The LSTM will guess the last half char by input to build the formula.

However, the result is not perfect. The error rate is still very high.

Additionaly, in this case, configuration is also complex. Small change of the setting will make result with huge different.