Message-ID: <7762412B-5964-4773-A48A-9005EC9F4EAE@gmail.com>
Date: 2009-04-12T21:46:57Z
From: Max Kuhn
Subject: Running random forest using different training and testing schemes
In-Reply-To: <66b602900904120926v64ff1a20lf9856992d487d3da@mail.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." <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.