Fast Artificial Neural Network (FANN) Library

Headers, Bindings, Libraries for use with FreeBASIC, Please include example of use to help ensure they are tested and usable.
Post Reply
ron77
Posts: 200
Joined: Feb 21, 2019 19:24
Location: Israel
Contact:

Fast Artificial Neural Network (FANN) Library

Post by ron77 »

Fast Artificial Neural Network (FANN) Library

github: https://github.com/libfann/fann?ref=hackernoon.com

site: http://leenissen.dk/fann/wp/

with the help of mysoft I was able to translate the library's header from C to FreeBasic and test it with translations of example test codes from C to FB - I'm on Linux OS, so I don't know about Windows OS.

the original thought was to use this library for creating an ML algorithm for a conversational chatbot - the advantage is that, unlike most ML Libraries, it is written in C and not C++ or Java or Python or C#, or any other language...

if you are interested more, you are welcome to read about it on "retrocoders community" forum thread here: https://retrocoders.phatcode.net/index.php?topic=118.0

P.S. - this is a youtube video that I made on my channel regarding ML and FANN lib as well as demonstrating my Chatbot Danny in FreeBasic: https://www.youtube.com/playlist?list=P ... SjDFRydCEC

Kind Regards
Ron77
speedfixer
Posts: 589
Joined: Nov 28, 2012 1:27
Location: California
Contact:

Re: Fast Artificial Neural Network (FANN) Library

Post by speedfixer »

This is one of the best ANN libraries. Looks abandoned, but just call it stable.

In Ubuntu, it is in the standard repository: no need to download, compile and install the library yourself.

david
ron77
Posts: 200
Joined: Feb 21, 2019 19:24
Location: Israel
Contact:

Re: Fast Artificial Neural Network (FANN) Library

Post by ron77 »

hello, well, we have finished translating the library headers and example codes from C to FreeBasic...

here is the result: https://github.com/lonelyStar211/FB_FANN

it's been tested only on Linux OS

let us know how it goes on Windows OS...

Kind Regards
Ron77
Imortis
Moderator
Posts: 1863
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: Fast Artificial Neural Network (FANN) Library

Post by Imortis »

ron77 wrote: May 19, 2022 15:10 hello, well, we have finished translating the library headers and example codes from C to FreeBasic...

here is the result: https://github.com/lonelyStar211/FB_FANN

it's been tested only on Linux OS

let us know how it goes on Windows OS...

Kind Regards
Ron77
Very cool. Will have to check it out when I get the chance.
Mysoft
Posts: 827
Joined: Jul 28, 2005 13:56
Location: Brazil, Santa Catarina, Indaial (ouch!)
Contact:

Re: Fast Artificial Neural Network (FANN) Library

Post by Mysoft »

i uploaded the actual files to github... and did the corrections so that it also work with the win32 releases of the library.
and the possibility of using

Code: Select all

#define fixedfann
to compile/use the fixed point version of the library.
Post Reply