Thanks a lot for your help.. But, using this function, how can identify the size of the training set? and how will I identify my data? There is not any example and I am a bit confused.
Many thanks, Chrysanthi 2009/4/12 Max Kuhn <mxk...@gmail.com> > There is also the train function in the caret package. The trainControl > function can be used to try different resampling schemes. There is also a > package vignette with details. > > Max > > > > On Apr 12, 2009, at 12:26 PM, "Chrysanthi A." <chrys...@gmail.com> wrote: > > Hi, >> >> I would like to run random Forest classification algorithm and check the >> accuracy of the prediction according to different training and testing >> schemes. For example, extracting 70% of the samples for training and the >> rest for testing, or using 10-fold cross validation scheme. >> How can I do that? Is there a function? >> >> Thanks a lot, >> >> Chrysanthi. >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help@r-project.org 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. >> > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org 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.