Questions tagged [fannj]

A Java binding to the Fast Artificial Neural Network (FANN) C library.

Use FannJ if you have an existing ANN from the FANN project that you would like to access from Java. There are several GUI tools that will help you create and train an ANN. Read more on the project homepage.

6 questions
1
vote
0 answers

How to compile FANN with C++ wrapper?

I am trying to wrap the FANN library with attached to the download zip wrapper (fann_cpp.h) but I have no idea how to do it. When I compile the library normally i don't get any errors but when I #include "fann_cpp.h" in my source or the library's…
Patryk
  • 22,602
  • 44
  • 128
  • 244
1
vote
2 answers

fannj library doesn't work

I'm trying to run project which uses fannj library, but I'm getting error: Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'fann_create_standard_array': at com.sun.jna.Function.(Function.java:179) …
czy
  • 175
  • 1
  • 2
  • 10
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" ); …
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
-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