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
2 answers

JNA class not Found Error using FANNJ for Ubuntu in Eclipse

I'm trying to use FANNJ in Eclipse (on Ubuntu), trying to create a toy program but it keeps giving this error as shown below. Code: package myPackage; import com.googlecode.fannj.Fann; public class mainclass { public static void man(String[]…
Sahil
  • 1,346
  • 1
  • 12
  • 17
0
votes
2 answers

How many units does the hidden layer have?

I'm getting started in artificial neural networks programming. I would like to know if there is some sort of calculation to determine the exact number of units a hidden layer in a feedforward multilayer network should have according to the number of…
renatov
  • 5,005
  • 6
  • 31
  • 38
0
votes
1 answer

FANN XOR training

I am developing a piece of software that uses FANN, the Fast Artificial Neural Network library. I have tried after numerous failed attempts at writing my own ANN code to compile a FANN sample program, here the C++ XOR approximation program. Here is…
Simon Kuang
  • 3,870
  • 4
  • 27
  • 53
0
votes
1 answer

FANN Xcode code sign issue

My development environment is: OSX Mavericks, Xcode 5 Cocoa mac application I have been using FANN to train and run a ANN. It has worked so far and I have been able to train and run an ANN. I have even made a simple command line application to train…
0
votes
1 answer

FANN doesn't train properly

I am trying to approximate the square function with FANN. The code follows: #include "../FANN-2.2.0-Source/src/include/doublefann.h" #include "../FANN-2.2.0-Source/src/include/fann_cpp.h" #include #include using namespace…
Simon Kuang
  • 3,870
  • 4
  • 27
  • 53
0
votes
1 answer

Symbol lookup error while running FANN based program

I compiled a simple program: #include #include #include int main(int argc, char* argv[]) { struct fann *ann = fann_create_standard(3, 28 * 28, 49, 10); fann_train_on_file(ann, "train.fann", 200, 10,…
Totem
  • 454
  • 5
  • 18
0
votes
1 answer

function in FANN to scale test data based on scale parameters setup at training

In FANN , after I import the training data I scale it accordingly the activation functions I am using . I use FANN_SIGMOID_SYMMETRIC so it should be -1.0 and 1.0. The range of my training data is [-100,100] ... fann_scale_input_train_data…
Abruzzo Forte e Gentile
  • 14,423
  • 28
  • 99
  • 173
0
votes
1 answer

Link errors using FANN

I'm trying to build a basic FANN (Fast Artificial Neural Network) project on Windows with MinGW. However, whenever I try to link the executable, I run into a bunch of undefined reference to errors. Interestingly, if I don't link the library at all,…
Rose Kunkel
  • 3,102
  • 2
  • 27
  • 53
0
votes
1 answer

How to Install and use FANN with Xcode

i want to use FANN (fast artificial neural network) with Xcode i googled for a way how to get the FANN and install it in Xcode but i did not find a result please guys does anyone know from where can i download FANN library and use it with Xcode…
0
votes
1 answer

using older version of a shared linux library while compiling C

I am trying to use libfann version 2.0.1 instead of the newest version 2.2.0, but could not figure out how to do so. Any thoughts on how to do that? normally that works perfectly: gcc fann_calculator.c -o run_fann_calculator -lfann -lm where…
MHardy
  • 491
  • 3
  • 7
  • 17
0
votes
1 answer

fann library error in ubuntu: /usr/local/lib/libfann.so.2: undefined symbol: pow

I am trying to build fann neural network library in ubuntu 12.04 but failed to use it as the testing routine is not working. Following the instructions in http://leenissen.dk/fann/wp/help/installing-fann/. After cmake and install when I want to test…
MHardy
  • 491
  • 3
  • 7
  • 17
0
votes
2 answers

How to use FANN in C++

Here I have read good references about FANN for Artificial Neural Networks in C/C++. Actually I am using C++ (on Ubuntu with g++ v4.6.1). The library written in C, has a wrapper for C++. But I don't get it to work. Even the example included…
jeanc
  • 4,563
  • 4
  • 22
  • 27
-1
votes
1 answer

FANN - I get incorrect results (near 0) at simply task

#include "doublefann.h" #include "fann_cpp.h" #include using namespace std; int main() { FANN::neural_net* sth = new FANN::neural_net(); sth->create_standard(3, 1, 2, 1); double inputs[1] = {0.000005}; double outputs[1]…
godlark
  • 157
  • 7
-1
votes
1 answer

I created and trainend a PHP-FANN but i dont get the desired results or accuraccy

I created a FANN in PHP with the help of some examples and tutorial from geekgirljoy and based it on the ocr example from the php-fann-repo I'm trying to create a system which tells me, based on an order number, which type of order this is. I have…
typ1804
  • 47
  • 1
  • 6
-1
votes
1 answer

Installed PHP-FANN on Homestead, can't find fann.so

I installed PHP-FANN on laravel/homestead version '8.1.0' by the following command: sudo apt-get install libfann-dev After that fann.so should add to php extension directory, but i cant find it. Can anyone help me?
javad m
  • 358
  • 5
  • 9