|
|
3 anni fa | |
|---|---|---|
| Readme.md | 3 anni fa | |
| brain-browser.js | 3 anni fa | |
| brain-js.test-01.html | 3 anni fa | |
| brain-js.test-02-RNN.html | 3 anni fa | |
| brain-js.test-03-LSTM-math.html | 3 anni fa | |
| brain-js.test-04-classifier.html | 3 anni fa | |
| chart.js | 3 anni fa |
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.
A basic example to solve XOR operation by neural network to show how simple can be to use brain.js for this function.
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.
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.