Skip to content

cross-validation

3 messages · azam jaafari, Joris Meys, Max Kuhn

#
As far as my knowledge goes, nnet doesn't have a built-in function for
crossvalidation. Coding it yourself is not hard though. Nnet is used
in this book : http://www.stats.ox.ac.uk/pub/MASS4/ , which contains
enough examples on how to do so.

See also the crossval function in the bootstrap package.
http://sekhon.berkeley.edu/library/bootstrap/html/crossval.html

Cheers
Joris
On Tue, Jun 8, 2010 at 11:34 AM, azam jaafari <azamjaafari at yahoo.com> wrote:

  
    
#
Install the caret package and see ?train. There is also:

   http://cran.r-project.org/web/packages/caret/vignettes/caretTrain.pdf
   http://www.jstatsoft.org/v28/i05/paper

Max
On Tue, Jun 8, 2010 at 5:34 AM, azam jaafari <azamjaafari at yahoo.com> wrote: