In these demos, we use Node.js and Brain.js to demonstrate some simple examples of machine learning.
Run the following commands in Git Bash or your favorite terminal.
$ git clone https://github.com/cd1993/machine-learning.git
$ cd machine-learning
$ npm install
$ node index.js // or 'node index-lstm.js' for example 2
In this example, we demonstrate a simple neural network.
In this example, we demonstrate a long short term memory neural network. We are also pulling the training data from a JSON file as opposed to using embedded data.
Constantine Doukas 2018