With the power of brain.js, we create the following examples to test the models in the browser.
Neural Network
The Neural Network is very simple in this libray. We tested with two examples:
Recurrent Network
The brain.js support RNN, LSTM and GRU. We noticed that the data format of these models are different to Neural netowrk. In recurrent network, the data must be array.