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
-1
votes
3 answers

"python setup.py egg_info" failed with error code 1

I install Fast Artificial Neural Network Library in Python 3.7: pip install fann2 Exception: Collecting fann2 Using cached…
Julio Amorim
  • 43
  • 1
  • 12
-1
votes
1 answer

fann_create_from_file() undefined function on Ubuntu 16

I installed php fann (https://github.com/bukka/php-fann) in a Ubuntu 16 Server, here is the console output: sudo apt-get install libfann-* Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting…
Arivan Bastos
  • 1,876
  • 1
  • 20
  • 28
-1
votes
1 answer

Training on a fitness function

I am looking at FANN (Fast Artificial Neural Network) to create a neural network to drive a car around a track in a simulation. It's possible to train on a fixed data set, but this isn't suitable for training a car to drive. I would like to use a…
Rocketmagnet
  • 5,656
  • 8
  • 36
  • 47
-1
votes
1 answer

FANNJ is crashing when creating an ANN given a list

The constructor of FANNJ accepts the way to give a list of layers, but when I try to build a simple ANN with 2 layers the compiler crashes Layer lhidden1 = new Layer(); lhidden1.create(num_neurons_hidden,…
Cleber Jorge Amaral
  • 1,316
  • 13
  • 26
-1
votes
1 answer

Fannj: Invalid memory access

Hi can somebody help me with the error, I used Fannj for create Neural Network. Fannj is Java bindings to FANN (the Fast Artificial Neural Network C library.) My code: Layer l1 = new Layer(); l1.create(1,…
Matus
  • 172
  • 1
  • 1
  • 13
-1
votes
1 answer

training data set in FANN

I have a question. I have a file with training data set. It looks like: 1 6 4 12 5 5 3 4 1 67 3 2 1 2 1 0 0 1 0 0 1 0 0 1 1 2 48 2 60 1 3 2 2 1 22 3 1 1 1 1 0 0 1 0 0 1 0 0 1 2 4 24 2 34 3 5 3 2 3 31 3 1 2 2 1 0 0 1 0 0 1 0 0 1 1 4 9 4 21 1 3 3…
Blok
  • 1
  • 2
-1
votes
1 answer

Importing the FANN Library into Dev C++

I downloaded the FANN library from http://leenissen.dk/fann/wp/download/ Im using windows 8, and it does not give any directions on how to install it. I have these contained inside the download: What do I do so I can successfully run the sample…
Dex
  • 23
  • 4
-1
votes
1 answer

Error while trying to execute fannj in java

I have been trying to prepare a sample training file of fann using the code: Fann fann = new Fann( "C:\Documents and Settings\user\My Documents\Downloads\fannj-master\src\test\resources\com\googlecode\fannj\xor.data" ); float[] inputs = new…
-1
votes
1 answer

Ruby FANN gem error

I am trying to use the FANN(Fast Artificial Neural Network) library within a rails project. Therefore, I have installed fan (the installation seems to be ok, I've followed some guides online). Also, I've added the ruby-fann gem to my Gemfile and it…
bsky
  • 19,326
  • 49
  • 155
  • 270
-1
votes
1 answer

Binding FANN with python mac os

I try binding FANN with my python in mac os. I have next steps: 1.Download FANN 2.2 2. Install it as usual. ./configure make sudo make install 2. install last XCODE 3. Download source code FANN for binding. 3. then i try: python setup.py…
-1
votes
1 answer

Autoconf Mac OS X Mavericks

I need to install FANN extension to AMPPS, so I need to use phpize util. For using phpize I need autoconf. I tried to install autoconf via MacPort and Brew, but a get errors. $ sudo port install autoconf return error Error: Port autoconf not…
-1
votes
3 answers

Problems with fprintf while writing large info

I'm trying to write an array of 18000 items (that array is from the transformation wav>array), and when I write the items in a file appears a \n when I don't want to write that, here is the code: f = info.frames; sr = info.samplerate; c =…
danespcha
  • 15
  • 4
-1
votes
1 answer

Building FANN Python bindings under Windows

I tried to compile the python bindings (pyfann) for FANN via python setup.py install. With an installed Visual Studio 2010 and SWIGWIN I get several errors. Has anyone a precompiled version of the python bindings for Python 2.7 under Windows 7…
user3563297
-1
votes
1 answer

FANN: Feed output back as input to run() (C++)

I'm using the C++ wrapper for FANN and have trained a predictor from time-series input. Now I want see what sequence results from feeding the network output back as an input. I tried this initially: fann_type *previousOutput =…
b..
  • 281
  • 3
  • 19
-1
votes
1 answer

C++ Build library and link it

I'm trying to write a program that use FANN Library: http://leenissen.dk/fann/wp/ I downloaded the source code, I opened the .sln project and compiled it. Now: what I have to do? I tried to create a new "console application project", I included the…
Stefano Giacone
  • 2,016
  • 3
  • 27
  • 50