[R] CART: rapart vs bagging

Liaw, Andy andy_liaw at merck.com
Mon Feb 2 02:03:24 CET 2004


> From:  Qin Liu
> 
> Hi, 
> 
> Is here anyone knows the difference between rapart and 
> bagging when grow a
> CART tree? 

rpart produces one classification or regression tree.  Bagging is a general
technique for combining classifiers or regression models, usually trees,
from bootstrap samples.  The bagging() function in the `ipred' package just
loop over call to rpart().

Andy

 
> Thanks
> 
> Qin
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
> 


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}




More information about the R-help mailing list