Home

Awesome

Fast Artificial Neural Network Library

FANN

Fast Artificial Neural Network (FANN) Library is a free open source neural network library, which implements multilayer artificial neural networks in C with support for both fully connected and sparsely connected networks.

Cross-platform execution in both fixed and floating point are supported. It includes a framework for easy handling of training data sets. It is easy to use, versatile, well documented, and fast.

Bindings to more than 15 programming languages are available.

An easy to read introduction article and a reference manual accompanies the library with examples and recommendations on how to use the library.

Several graphical user interfaces are also available for the library.

FANN Features

To Install

On Linux

From Source

First you'll want to clone the repository:

git clone https://github.com/libfann/fann.git

Once that's finished, navigate to the Root directory. In this case it would be ./fann:

cd ./fann

Then run CMake

cmake .

After that, you'll need to use elevated privileges to install the library:

sudo make install

That's it! If everything went right, you should see a lot of text, and FANN should be installed!

Building fann - Using vcpkg

You can download and install fann using the vcpkg dependency manager:

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install fann

The fann port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.

To Learn More

To get started with FANN, go to the FANN help site, which will include links to all the available resources.

For more information about FANN, please refer to the FANN website