[R] Running random forest using different training and testing schemes
Max Kuhn
mxkuhn at gmail.com
Sun Apr 12 23:46:57 CEST 2009
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." <chrysain at 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 at 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.
More information about the R-help
mailing list