[R] nnet 10-fold cross-validation

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jul 23 21:38:40 CEST 2007


Please read the documentation.  nnet() is support software for a book, and 
that has explicit examples of this, which you will find in the scripts of 
the VR bundle (but I don't expect them to be comprehensible without the 
book).

On Mon, 23 Jul 2007, S.O. Nyangoma wrote:

> Hi
> It clear that to do a classification with svm under 10-fold cross
> validation one uses
>
> svm(Xm, newlabs, type = "C-classification", kernel = "linear",cross =
> 10)
>
> What corresponds to the nnet?
> nnet(.....,cross=10)?
>
> Regards
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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