Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Neural networks - API or class



Hi Chris

You are right, the __attribute__(packed) should be removed on borland
compilers. It is only used in gnu compilers.

I have developed the library using the gnu compiler on linux and it is a
few years since I have used the borland compiler, but I am pretty sure
that I can help you with your problem.

The problem with unresolved links, are due to the fact that you need to
include the source files in your project and not just the header files.
(Perhabs you can create an obj file). The source files that you need to
include are fann.c and fann_internal.c.

I hope that this will do the trick but if not, then do not hesitate to
write back.

I will include these mails in my sourceforge site
(http://sourceforge.net/projects/fann/), so please reply to me telling
whether my suggestions work for you. Perhabs I could make a borland
readme file.

Regards,
Steffen

Krzysztof Kolago wrote:
Hello!

    Thanks for advice, but when I've tried to compile example projects my
compiler (Borland C++ Builder) has stopped on line "__attribute__(packed)"
and wrote, that expects ")" before "packed" word. I've asked some people on
comp.lang.c++ group what should I do, and they said, that I should delete
this line. When I've done it, compilet wrote, that there were many
unresolved links, for example "[Linker Error] Unresolved external
'__fann_create' referenced from D:\FANN-1.0.2\EXAMPLES\SIMPLE_TRAIN.OBJ".
I've add all fann's header file to INCLUDE directory, so now I don't
understand why there is this error...

Maybe you can help me?

Chris

Uzytkownik "Steffen Nissen" <[EMAIL PROTECTED]> napisal w wiadomosci
news:[EMAIL PROTECTED]

Krzysztof Kolago wrote:

Hello!

Does anybody know any freeware or GLP program which can build the

neural

networks, when it gets training inputs and outputs, and then export it

as a

API or class (C++)? I've tried to use Neurak, but it is good only for
smaller networks... Maybe somebody can recommend me other program?

Chris


Hi Chris,

I would recommend using a standard feedforward ANN library like e.g.
http://sourceforge.net/projects/fann/

It is very easy to use, some examples can be seen at:
http://sourceforge.net/docman/?group_id=93562

A full scientific report documenting the use of this library is located

at:


http://sourceforge.net/project/showfiles.php?group_id=93562

The users guide is located here:
http://fann.sourceforge.net/report/node7.html

Regards,
Steffen









<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.