node-fann
node-fann is a FANN bindings for Node.js.
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.
Installation
-
Make sure you have
glib2
andpkg-config
installed.These are quite popular tools and should be available in your software repository/ports.
-
You will need FANN library version >= 2.1.0 (libfann2).
-
Run
npm install fann
to install this package.
Example
var fann = ;var net = 231; var data = 0 0 0 0 1 1 1 0 1 1 1 0; net; console;console;console;console;