[R] train nnet

G Ilhamto gilhamto at gmail.com
Fri Dec 14 16:52:33 CET 2007


Hi R-helpers,

Can some one tell me how to train 'mynn' of this type?:
mynn <- nnet(y ~ x1 + ..+ x8, data = lgist, size = 2, rang = 0.1,
decay = 5e-4, maxit = 200)

I assume that this nn is untrained, and to train I have to split the
original data into train:test data set,
do leave-one-out refitting to refine the weights (please straighten
this up if I was wrong).

I just don't know how to do it in R. Is 'training' and
'training.reports' in (AMORE) able to do it?

Thank you for any light on this.

Ilh



More information about the R-help mailing list