[R] What training algorithm does nnet package use?

Gavin Simpson gavin.simpson at ucl.ac.uk
Thu Nov 23 11:22:08 CET 2006

On Thu, 2006-11-23 at 09:39 +0000, Wee-Jin Goh wrote:
> Hello,
> Thanks for that. I've taken a look at the source code, and I see that  
> the bulk of the processing is done in C, with R acting as a wrapper.  
> Below is the function I think is doing the training in the network.
> I'm guessing it's the standard Backpropagation with a decay term  
> algorithm? Can anyone confirm if that's correct?
> Cheers,
> Wee-Jin

How about you take a look at Section 8.10 in MASS (the book; Venables &
Ripley (2002) Modern Applied Statistics in S 4th Edition, Springer.) and
Brian Ripley's 1996 book Pattern Recognition and Neural Networks,
Cambridge University Press.

Both of which are documented in the help page for nnet; see ?nnet. nnet
(the package) is support software for these books so you should consult
these references.

nnet is a package within the VR bundle by the way.


 Gavin Simpson                 [t] +44 (0)20 7679 0522
 ECRC & ENSIS, UCL Geography,  [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk

More information about the R-help mailing list