[R] CART: rapart vs bagging
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Feb 1 18:39:11 CET 2004
On Sun, 1 Feb 2004, Qin Liu wrote:
> Is here anyone knows the difference between rapart and bagging when grow a
> CART tree?
Short answer: `Yes'.
Slightly longer answer: `rapart classification tree' is not something
Google knows about, and bagging is not to do with `grow a tree'.
More informative answer:
Bagging is a method to combine ensembles of classification trees, and
*rpart* is a package in R which does grow and prune classification trees.
CART is the trademark of a commercial program to grow and prune
Put `bagging Breiman' into Google to help you with the concept of bagging,
and then look at package ipred.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help