[R] documentation of wts object returned by nnet() function

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 11 08:02:29 CEST 2008

See the summary() method.  It labels the weights for you.

On Tue, 10 Jun 2008, wmg wrote:

> In MASS there is a nnet() function which returns, among other things, a wts[] 
> vector giving the weights in the neural network. However, in neither the book 
> nor in the online documentation for the routine can I find documentation of 
> which element of wts[] goes with which link in the network---input unit to 
> hidden layer unit, hidden layer unit to output unit, skip layer links, etc. 
> Anybody know the answer to that, presumably in form of an algorithm for 
> pairing them up? Thanks in advance.
> Regards,
> Will Grove
> U. of Minnesota Psychology Dept.
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list