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
31
votes
7 answers

How to add external native dependency dll?

I have two projects. First is a Windows Forms Application project and second is a class library project. Сlass library project works with FANN. Windows Forms is Startup Project. I should have Fann.Net.dll and fanndoubleMT.dll to work with the FANN.…
Denis
  • 3,595
  • 12
  • 52
  • 86
14
votes
1 answer

What does bit fail mean?

My neural network has 22 inputs of 5184 values (two digit values, images converted to bytes), and I tried to set 2 output neurons with value 0 or 1, like: 0 1 1 0
The Student
  • 27,520
  • 68
  • 161
  • 264
11
votes
3 answers

What is the purpose of bit fail in FANN?

im having a response like below from fann Epochs 1. Current error: 0.2500066161. Bit fail 4. Epochs 58. Current error: 0.0000930788. Bit fail 0. what does Bit fail mean here?
ibaguio
  • 2,298
  • 3
  • 20
  • 32
7
votes
1 answer

FANN Error 11: Unable to allocate memory

In the Python implementation of FANN, I got this error from from pyfann import libfann ann = libfann.neural_net() ann.create_standard(4, 2, 8, 9, 1) #FANN Error 11: Unable to allocate memory. Any suggestion?
d.putto
  • 7,185
  • 11
  • 39
  • 45
5
votes
1 answer

How to do disjoint classification without softmax output?

What's the correct way to do 'disjoint' classification (where the outputs are mutually exclusive, i.e. true probabilities sum to 1) in FANN since it doesn't seems to have an option for softmax output? My understanding is that using sigmoid outputs,…
Sam
  • 385
  • 1
  • 10
4
votes
2 answers

Error "undefined reference to `sin'" when compiling (with -lm)

I've downloaded and compiled: http://leenissen.dk/fann/wp/ cmake version 2.8.11.2 gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1 Command used to compile: cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr . Installation: sudo make && sudo make install Then I go…
Paweł Szczur
  • 5,484
  • 3
  • 29
  • 32
4
votes
1 answer

Having trouble understanding neural networks

I am trying to use a neural network to solve a problem. I learned about them from the Machine Learning course offered on Coursera, and was happy to find that FANN is a Ruby implementation of neural networks, so I didn't have to re-invent the…
Andrew Latham
  • 5,982
  • 14
  • 47
  • 87
4
votes
2 answers

What is the format of training data in pyfann?

What is the format of thraining data in pyfann? Concretely I would like to use the init_weight function of pyfann, but it does not take a range, but finds the range from traning data. Therefore I would like to create a small fake dataset, which has…
Davoud Taghawi-Nejad
  • 16,142
  • 12
  • 62
  • 82
3
votes
1 answer

sse2 float multiplication

I tried to port code some from the FANN Lib (neuronal network written in C) to SSE2. But the SSE2 performance got worse than the normal code. With my SSE2 implementation runs one run takes 5.50 min without 5.20 min. How could SSE2 be slower than…
martin s
  • 1,121
  • 1
  • 12
  • 29
3
votes
1 answer

I see maximum bit fails and the error rate does not change

I am new to using FANN and am trying to access it using the python bindings. ann = libfann.neural_net() ann.create_sparse_array(3, (12, 8,…
chustar
  • 12,225
  • 24
  • 81
  • 119
3
votes
0 answers

Pyfann capture training output

I'm currently experimenting with the python bindings for FANN and the following article helped me along pretty well: http://jansipke.nl/using-fann-with-python/ One thing that bothers me about this approach is, calling the train_on_file method…
mephisto
  • 661
  • 1
  • 6
  • 14
3
votes
1 answer

FANN examples give wrong results although training seems successful

Using FANN I can't succeed to run copy&pasted code from FANN's website. I am using FANN version 2.2.0 on Windows 7 and MS Visual Studio 2008. My code for the training program of the XOR example looks like: #include "floatfann.h" #include…
alex
  • 2,252
  • 4
  • 23
  • 34
3
votes
1 answer

As new data becomes available, how to incrementally train a FANN?

I built and trained a neural network using FANN library. This is an initial training; majority of data will be collected online. When online data becomes available I want to improve the network using this new data (not re-train, but make previous…
parisa
  • 43
  • 4
2
votes
1 answer

Unexpected results from FANN library

Using FANN library I get unpredictable results. Training file : 132 600 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1…
Patryk
  • 22,602
  • 44
  • 128
  • 244
2
votes
1 answer

Deep Copy of a PYFANN neural network

Is it possible to make a deep copy of a neural network in PYFANN (i.e. the python binding for FANN)? By a deep copy I mean a new completely independent neural net, with the same topology and weights. I've seen copy functions and constructors in the…
Nikolay
  • 1,002
  • 11
  • 10
1
2 3 4 5 6 7