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
0
votes
1 answer

C++ error: unable to find string literal operator

I have started working with Neural Networks, so I got a FANN library (http://leenissen.dk/fann/wp/). I am having problems to compile it, specifically file /fann-master/src/fann_io.c where I am receiving a error on line 346: fann_io.c:346:29:…
AtomicFS
  • 39
  • 1
  • 2
0
votes
2 answers

Trying to install fann2 python library, error: "failed with error code 1"

I am new to python and I keep getting errors when I am trying to install new packages. This time I tried to install the Fast Artificial Neural Network Library, fann2. I am trying to install from the command prompt, running the following line from…
aleli91
  • 11
  • 3
0
votes
1 answer

FANN Error 20: The number of output neurons in the ann (4196752) and data (1) don't match Epochs

This is a litle modified sample program I took from FANN website. The equation I created is c = pow(a,2) + b. Train.c #include "fann.h" int main() { const unsigned int num_input = 2; const unsigned int num_output = 1; const unsigned…
Sreeraj Chundayil
  • 5,548
  • 3
  • 29
  • 68
0
votes
0 answers

Neural Net MSE trough

I am trying to train a BackProp Neural Net with 21 inputs and 1 output. The input data is S&P 500 stock data (indicators) and the output is if a buy should occur. I have tried a number of neural net configurations but as the epochs progress the MSE…
Mike Smith
  • 39
  • 1
  • 3
0
votes
1 answer

PyFann data format for list described dataset

I am working on detection of regions of specific tree in an aerial image and my approach is using texture detection. I have 4 descriptors/features and I want to use FANN to create a machine learning environment that would detect properly the…
htinez
  • 34
  • 8
0
votes
4 answers

Train neural network with validation dataset in FANN

As some posts suggest, I start using FANN (http://leenissen.dk/fann/index.php) to do neural network stuff. It is clean and easy to understand. However, to avoid the over-fitting problem, I need to employ an algorithm that considers validation…
cyfex
  • 55
  • 10
0
votes
1 answer

PHP Fann gives same result despite different inputs

I am trying out the FANN PHP module and I was able to successfully run the example here http://php.net/manual/en/fann.examples-1.php I modified it to be able to handle 5 inputs with an arbitrary function for output. I generated 1000 training data…
Kyle Domingo
  • 521
  • 4
  • 14
0
votes
1 answer

g++ - Finding appopriate Windows libraries to link so as to compile FANN library

For various reasons I have been trying to compile the FANN library myself. I'm on Windows 10 with MinGW. To keep things simple I was going for something like this to start with: g++ mushroom.c -o shroom.exe -lm -I src\ -I src\include\…
ShakesBeer
  • 283
  • 4
  • 15
0
votes
0 answers

Can't get a Fast Artificial Neural Net (FANN) project to make. It gives undefined references when certain code is used

I have been having trouble with the Fast Artificial Neural Network (FANN) library. I can't seem to get it completely working on my system. I think I am missing some dependency, but I can't seem to figure out how to fix it. I am on Ubuntu, but I…
Lucas
  • 567
  • 1
  • 8
  • 21
0
votes
1 answer

Why is my neural network giving negative outputs for positive inputs?

I am using a neural network library written in C++ (called FANN) to attempt to learn and predict mathematical sequences. It is implemented with Node.js using a wrapper for the library. In this particular instance, I am trying to make the neural…
Chandler Freeman
  • 899
  • 1
  • 10
  • 25
0
votes
1 answer

Unable to import FANN in Python on Ubuntu

I have tried installing FANN Python bindings on Ubuntu using all of apt-get install, pip, and directly from source, but the same error keeps occurring when I try to import FANN. Namely, it tells me that fann_copy is undefined (the following is the…
Mark Harvilla
  • 11
  • 1
  • 3
0
votes
1 answer

C++ FANN fann_run always produce same output

I am using the FANN Library to build neural networks to proceed a regression problem. The thing is, once the networks has been trained on the relevant training set (which seems to work quite well), every single test output the exact same output. In…
pierrez
  • 91
  • 1
  • 6
0
votes
2 answers

Understanding FANN library's "fann_save" output file

I am training an artificial neural network in C++ using FANN library. I cannot understand/translate the syntax used to save neurons' weights in a text file through the function "fann_save()", in particular at section connections…
0
votes
1 answer

How Get Weight Matrix from NN FANN?

I'm using FANN to use Neural Network. (Link to FANN) I need to get the matrix of weight after trained the network, but I didn't find anything from documentation. (Link to documentation) Do you know how get that matrix??? Thank you!
Teo
  • 3,143
  • 2
  • 29
  • 59
0
votes
1 answer

FANN2 for Python -- Matplotlib floating point format issue

My todays question is about strange behaviour of fann2 package for Python 2, while using matplotlib or pyqtgraph simultanously. Lets say that I need to plot my FANN network MSE in a real time. I will then use matplotlib with interactivity and some…
Konrad Talik
  • 912
  • 8
  • 22