| [reply] |
Depending on what type of neural network you need to run, you may be interested in a system I wrote last year for uni that handles basic NNs. There's not much in the way of an installer, and it's very alpha code, but it's something you can look at and see how others have done it in perl.
I put that code and documentation on that site just a few moments ago in response to this post. Please /msg me if you notice any glaring errors or have anything to contribute.
| [reply] |
"so I can be able to control the NN from my Perl programs."
While doing things in one language is preferred, if you have something else there is nothing saying you can't have some sort of IPC interface... | [reply] |
I hate to speak for someone else, but erix has a bunch of AI links on his homenode that will help you find good discussions of these here on perlmonks.
HTH | [reply] |
Hi,
That was quick, I only uploaded NNFlex a few days ago! To answer your question, it was written because I couldn't get the other NN backprop perl modules to work, so thats my experience with NN in perl. It isn't especially quick yet though, if you have a requirement for fast learning, you might be better with one of the interface modules like AI-jneural, although obviously I'd love people to use NNFlex and provide feedback!
Alternatively, if you're running unix, with a bit of hacking around you can control xerion with a pair of FIFO's and open them in perl as filehandles. Xerion is available from http://www.cs.toronto.edu/~xerion/ - if you want help with that or with NNFlex, post a message for me on perl-ai.
charles colbourn | [reply] |
1st, NNFlex works very well, specially because we can set the number of layers, nodes and extra configurations for each layer, what make possible to use NNFlex in many different problems.
I have rewrited your modules to fix some load and save (dump_state/load_state). Now I'm able to serialize the NN and load it with 100% of the previous state. Also the code is faster. Then I have added a new interface where is very easy to learn a set and get the output with the same values of the inputs.
I will send the code to you in sime days.
| [reply] |