Re: [R] using bootstrap for tree selection step in rpart

2007-09-10 Thread Christian Schäfer
Fiona Callaghan wrote:
> I was wondering if someone could help me with an rpart problem.  I can see
> that cross-validation is the default for tree selection in rpart -- has a
> bootstrap method been implemented anywhere?  I think this is a different
> thing to 'bagging' or 'boosting' -- I still want 'one' tree at the end, I
> just would like it chosen using a bootstrap method.  Any ideas???

Hi Fiona,

I'm not sure if I understand you correctly.
To get one single rpart tree trained on one bootstrap sample, try 
bagging() from the 'ipred' package and set nbagg=1.

Bye,
Chris

__
R-help@stat.math.ethz.ch 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.


[R] corrected resampled t-test

2007-09-10 Thread Christian Schäfer
Hi,

I'm looking for an implementation of the "corrected resampled t-test" 
[1] to compare to different machine learning classifiers. Any idea, 
whether this is implemented in a R package?

Thanks in advance,
Christian

[1] Nadeau & Bengio, 2003, "Inference for the Generalization Error", 
Machine Learning

__
R-help@stat.math.ethz.ch 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.