[R] Plot Cubist Tree

2012-07-26 Thread Dominik Bruhn
I got a regression model trained using the 'cubist' function of the 'Cubist' package. This works fine. I'm now searching for a graphical representation of the regression model: As the Cubist Algorithm is based on a forrest of trees (or a single tree if 'committees==1'), is it somehow possible to a

[R] Caret: Use timingSamps leads to error

2012-07-12 Thread Dominik Bruhn
): [1] codetools_0.2-8 compiler_2.15.0 grid_2.15.0 iterators_1.0.6 [5] tools_2.15.0 ----- Thanks! -- Dominik Bruhn mailto: domi...@dbruhn.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] caret: compare linear models of different degree

2012-06-11 Thread Dominik Bruhn
plotmo(m$finalModel) --- which leads to this error: Error in eval(expr, envir, enclos) : object 'Girth:Height' not found Is this a bug or am I missing something? Thanks! On 09/06/12 18:09, Dominik Bruhn wrote: > Max, thanks for your answer! >> predict.train() w

Re: [R] caret: compare linear models of different degree

2012-06-09 Thread Dominik Bruhn
ediction method does not work if the formula is changed. Perhaps my question now got clearer. Thanks again! -- Dominik Bruhn mailto: domi...@dbruhn.de __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

[R] caret: compare linear models of different degree

2012-06-09 Thread Dominik Bruhn
r, envir, enclos) : object 'Girth:Height' not found --- How can I set the degree used when training a linear model without changing the formula? I need the 'extractPrediction' functionallity. Thanks! -- Dominik Bruhn mailto: domi...@dbruhn.de __

Re: [R] Need help for R install

2012-05-21 Thread Dominik Bruhn
Graduate Research Assistant > Department of Computer Science > University of Missouri-Columbia > Columbia, MO 65211 > Cell: 573-825-8874 > Email : rc...@mail.missouri.edu > http://home.ustc.edu.cn/~ahjxcrz > > > -Original Message- > From: Dominik Bruhn [mailto:domi

Re: [R] Need help for R install

2012-05-21 Thread Dominik Bruhn
e.ustc.edu.cn/~ahjxcrz > > > [[alternative HTML version deleted]] > > __ > R-help@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

Re: [R] caret: Error when using rpart and CV != LOOCV

2012-05-17 Thread Dominik Bruhn
ariance of the predictions is zero. caret uses the formula for > R^2 by calculating the correlation between the observed data and the > predictions which uses sd(pred) which is zero. I believe that the same > would occur with other formulas for R^2. > > Max > > On Wed, May 16,

Re: [R] caret: Error when using rpart and CV != LOOCV

2012-05-16 Thread Dominik Bruhn
>> zero. >> >> Try using you own summary function (see ?trainControl) and put a >> print(summary(data$pred)) in there to verify my claim. >> >> Max >> >> On Tue, May 15, 2012 at 5:55 AM, Dominik Bruhn wrote: >>> Hy, >>> I got the fo

Re: [R] caret: Error when using rpart and CV != LOOCV

2012-05-16 Thread Dominik Bruhn
in a divide by >> zero. >> >> Try using you own summary function (see ?trainControl) and put a >> print(summary(data$pred)) in there to verify my claim. >> >> Max >> >> On Tue, May 15, 2012 at 5:55 AM, Dominik Bruhn wrote: >>> Hy, >>>

[R] caret: Error when using rpart and CV != LOOCV

2012-05-15 Thread Dominik Bruhn
working is 'LOOCV': --- library(caret) data(trees) formula=Volume~Girth+Height tc=trainControl(method='LOOCV') train(formula, data=trees, method='rpart', trControl=tc) --- Thanks! -- Dominik Bruhn mailto: domi...@dbruhn.de signature.asc Description: OpenPGP