[R] nnet 10-fold cross-validation

Wensui Liu liuwensui at gmail.com
Mon Jul 23 21:35:24 CEST 2007


there is no such thing in nnet(), if i understand correctly.
how hard it is to code one though?

On 7/23/07, S.O. Nyangoma <S.O.Nyangoma at amc.uva.nl> 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.
>


-- 
===============================
"I am dying with the help of too many
physicians." - Alexander the Great, on his deathbed
===============================
WenSui Liu
(http://spaces.msn.com/statcompute/blog)



More information about the R-help mailing list