|Just another Perl shrine|
Re: AI::NNEasy to setup fast a Neural Network using just Perl and XS.by g0n (Priest)
|on Feb 22, 2005 at 16:36 UTC||Need Help??|
Speeding things up
I know this is a rather late addition to this topic, but I've been doing a lot of work on nnflex since it was first posted on CPAN at the beginning of Jan:
gmpassos, if you're still working on this you might want to think about implementing a momentum term in backprop.
My experiments with XOR suggest an improvement in learning speed (measured in the number of passes) of up to 5 fold, and improved network stability (because your network is less likely to get stuck in local minima).
You can get the code from the momentum.pm module in nnflex.
I hope thats useful.