Questions tagged [fann]

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.

  • Cross-platform execution in both fixed and floating point are supported.
  • Includes a framework for easy handling of training data sets.
  • Bindings to more than 20 programming languages are available.
  • Introduction article and a reference manual accompanies the library with examples and recommendations.
  • Several graphical user interfaces are also available for the library.
97 questions
2
votes
0 answers

FANN install problems using PEAR on windows? PEAR Version: 1.9.4 , PHP Version: 5.4.12

I am trying to install FANN (Fast artificial Neural Network) on window using PEAR. But I keep getting following error. C:\wamp\bin\php\php5.4.12>pear install fann No releases available for package "pear.php.net/fann" - package pecl/fann can be …
2
votes
2 answers

FANN Python Bindings Failing

I just built and installed libfann and the associated python bindings. The python setup seemed to run ok: $ sudo python setup.py install Running SWIG before: swig -c++ -python pyfann/pyfann.i running install running build running build_py copying…
David Williams
  • 8,388
  • 23
  • 83
  • 171
2
votes
1 answer

Stepping between managed and unmanaged code in Visual Studio

There are three projects: project A (my project, WPF .NET 4.5) project B (managed C++ with CLR (.NET wrapper for the FANN library)) project C (unmanaged project made in C, (FANN library)) In Visual Studio 2012 with project A opened, I can't step…
Mirek
  • 4,013
  • 2
  • 32
  • 47
2
votes
1 answer

Training neural network for function approximation

I've got absolutely no experience with neural networks and for now I'm just playing with FANN library to learn them. So the objective is to train the network to approximate the sine function. For that I'm using 3 layer NN 1 input, 3 hidden and 1…
givi
  • 1,883
  • 4
  • 22
  • 32
1
vote
1 answer

Training NN to calculate atan2(y, x)

I've been working on a Q reinforcement learning implementation, where Q(π, a) is is approximated with a neural network. During trouble-shooting, I reduced the problem down to a very simple first step: train a NN to calculate atan2(y, x). I'm using…
Thor Correia
  • 1,159
  • 1
  • 12
  • 20
1
vote
1 answer

is it possible to make RNN using FANN

Im playing with PHP-CLI and MQL4. I want to create a neural network for FOREX predictions. Is it possible to make a recurrent neural network (RNN) with gated recurring units (GRU) or long short-term memory (LTSM) using FANN library?
Riad
  • 31
  • 3
1
vote
1 answer

Using a neural network to provide recommendations

So I started playing with FANN (http://leenissen.dk/) in order to create a simple recommendation engine. For example, User X has relations to records with ids [1, 2, 3] Other users have relations to following ids: User A: [1, 2, 3, 4] User B: [1,…
1
vote
1 answer

fann2 for Python - get network weights

I am using fann2 (the Python binding for the FANN library) to train neural networks. I have trouble getting the weights of the network and the bias terms. I can see that the neural_net object has the following 2 methods:…
Dom
  • 94
  • 1
  • 3
1
vote
1 answer

Neural network to produce 1 output (FOREX stop loss decision) from 7 inputs

I have a mix of floating point- and integer values that play part in generating one floating point value. Some correlate and some may not. Using FANN I want to see if neural networks are the answer. Given 6 or 7 input numbers that determine a single…
Bodger
  • 1,342
  • 4
  • 16
  • 23
1
vote
2 answers

How to save a FANN to string?

I want to use FANN by saving the configuration into a database, then load it during runs. All of the functions seem to be saving/loading networks into config files. But my application can't have temporary files. How can I save a training into a…
MrFox
  • 1,244
  • 1
  • 11
  • 24
1
vote
1 answer

What is the filepath that FANNJ (FANN in Java) constructor is expecting?

I am new to working with java. I wanted to know the requisites and the procedure to use the FANN-1.1 tool library in java to train a set of data. The code given in https://code.google.com/p/fannj/ is Fann fann = new Fann( "/path/to/file" ); …
1
vote
1 answer

FANN Neural Network - constant result

I'm using the FANN Library with the given code. #include #include "doublefann.h" int main() { const NUM_ITERATIONS = 10000; struct fann *ann; int topology[] = { 1, 4, 1 }; fann_type d1[1] = { 0.5 }; fann_type d2[1] = {…
ltb68167
  • 37
  • 5
1
vote
0 answers

Windows 7 Installing FANN Python Bindings fails to find doublefann library

I need help with installing fann2 -- FANN Python Bindings I have a windows 7 machine. having installed Anaconda 64bit and FANN I am trying to install the Python bindings using pip install fann2 . It fails to find the Library doublefann ld.exe:…
1
vote
2 answers

Fast Artificial Neural Network Library On Embedded Platform

Since this is my first question after years of finding answers in this site, id like to say a big thanks to everyone. I want to use FANN in an embedded platform, and i am using UVision 4 to code in C. Since i am a C/C++ rookie, i cant figure out if…
1
vote
0 answers

Fann library - possibility to switch off bias neurons

I would like to ask whether there is possibility to gracefully switch off bias neurons from neural network in fann library? I have not noticed any function to add/delete connection between neurons in fann documentation. The solution - setting after…
tpsa
  • 341
  • 1
  • 4
  • 13