Harbour bindings for FANN - Fast Artificial Neural Networks 2.2.0
Harbour bindings for FANN - Fast Artificial Neural Networks 2.2.0.
Harbour is a modern programming language, primarily used to create database/business programs. It is a modernized, open sourced and cross-platform version of the older and largely DOS-only Clipper system, which in turn developed from the dBase database market of the 1980s and 90s.
See more info at http://www.kresin.ru/en/harbour.html
Fast Artificial Neural Network 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.
FANN official site is http://leenissen.dk/
First of all you need to download FANN library, unpack and compile it, using the C compiler of your choice - the same, which you use with Harbour.
There are compile scripts in hrb4fann/fann directory:
Before using one of them, you may need to edit it for to set the correct path to the unpacked FANN directory ( FANNDIR variable ) and, if you work in Windows, the path to the C compiler.
In case of successful compiling you’ll find the library in _hrb4fann/lib directory.
The next step is the compiling of hrb4funn itself with one of scripts in hrb4fann/ directory:
As in case of compiling the FANN library, you need to set correct paths to the unpacked FANN directory and, for Windows, the path to the C compiler.
Additionally, you need to set the path to the Harbour in HRB_DIR variable.
fann_set_weight( pAnn )
fann_train( pAnn, aInputs, aDesired_outputs )