The training file is opened by the external (I simply pass the filename to a function of the fann library) As pointed out by Iohannes it may be possibile to learn on-the-fly, I am trying but the net seems to reset each time I pass the training pattern. I saw something about this issue some day ago in the fann forum, that's why I started with the train-on-file (which I know it works).. .. Working on it..
It will be included in ann with the name of ann_mlp as soon as I am able to write an autoconf that menages fann depends
-----Messaggio originale----- Da: B. Bogart [mailto:ben@ekran.org] Inviato: lunedì 9 maggio 2005 15.40 A: Georg Holzmann Cc: Davide Morelli; pd-list@iem.at; zmoelnig@iem.at Oggetto: Re: R: [PD] New external on neural networks
Does the training file get opened in C directly by the external, or do you do the file open part in PD and pass the training data onto the external?
Generating the training data and feeding it on the fly would seem to be the most "PD" way.
Personally I can think of no good reason to keep your ann seperate from Johannes's SOM. Please include examples too! :)
B>
Georg Holzmann wrote:
Hallo!
My external has one major problem: the training process. It is tricky to fill a file with training patterns but the real problem is that when I train the network using the training file I halt pd until the function returns (see train_on_file
function) which
can take minutes. This slows down the pc. Is there a way to
do it in an asynchronous way?
Something like creating a thread? Is out there an example of external using threading?
You could look at the pthread documentation.
Online-Learning would be cool too. Is it supported in FANN?
LG Georg
Davide.
-----Messaggio originale----- Da: pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at]
Per conto
di IOhannes m zmoelnig Inviato: domenica 8 maggio 2005 19.09 A: Davide Morelli Cc: PD list Oggetto: Re: [PD] New external on neural networks
Davide Morelli wrote:
Hi list, I just finished a little external I wrote to use FANN
classes in PD.
It is about multi layered neural networks.
I would like to know who is the author of the ann_som external, I think he could be interested in it (for ann_mlp).
its me.
i haven't tried your code yet, but if you do not mind, i
would highly
appreciate if you would like to include your external into ann.
btw, since i haven't done anything to ann within the last
4 years (or
so), i wouldn't even mind if you join the development of
ann (or take
it over...)
the only thing is, that it should remain onder GnuGPL.
mfg,.a.dr IOhannes
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.3 - Release Date: 03/05/2005
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list