FANN (Fast Artificial Neural Network Library) is a free open source neural network library, which implements multilayer artificial neural networks with support for both fully connected and sparsely connected networks.
Make sure you have
These are quite popular tools and should be available in your software repository/ports.
You will need FANN library version >= 2.1.0 (libfann2).
npm install fann to install this package.
var fann = ;var net = 231;var data =0 0 00 1 11 0 11 1 0;net;console;console;console;console;