[R] Need Help in K-fold validation in Decision tree

Steve Lianoglou mailinglist.honeypot at gmail.com
Mon May 21 15:51:03 CEST 2012


Hi,

On Mon, May 21, 2012 at 6:01 AM, santoshdvn <santoshdvn at gmail.com> wrote:
> Hi ,
>
> I have built decision tree using  rpart . I want to do k Fold validation on
> the decision tree .
>
> Could you help how can i do that .. please tell the package which required
> for K fold validation.

I think you'll find the caret package, along with its vignettes, very helpful:

http://cran.r-project.org/web/packages/caret/index.html

If you google for "caret machine learning" you'll find many useful
links. For instance:

* The JSS Publication:
http://www.jstatsoft.org/v28/i05/paper

* Slides from a presentation of caret:
http://files.meetup.com/1542972/Max_caret_NYCPA.pdf


HTH,
-steve

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact



More information about the R-help mailing list