[R] nnet 10-fold cross-validation

Saeed Abu Nimeh sabunime at gmail.com
Mon Jul 23 23:22:46 CEST 2007


do it manually. divide your dataset into 10 parts then train and test
accordingly.
Saeed


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.
>



More information about the R-help mailing list