Re: [R] Predicting New Data -

2013-01-07 Thread Benjamin Hofner
Sorry, but your current information doesn't help to solve your problem. Not having explicit base-learners is not the cause of your problem, especially as for glmboost() there are no explicit base-learners. You should definitely provide a minimal example that helps to reproduce your error/problem.

Re: [R] Predicting New Data -

2013-01-07 Thread rydood
Uwe Ligges-3 wrote > Hard to debug given we neither have the formula nor the data. All I can give is that the data is in the form y, x1, x2, x3,... and the formula is y ~ x1+x2+x3+... Maybe it's because I'm not explicitly specifying the base learners. -- View this message in context: http://r.

Re: [R] Predicting New Data -

2013-01-06 Thread Uwe Ligges
On 04.01.2013 19:22, rydood wrote: I am having trouble predicting new data with a model created from package mboost: mb1<-glmboost(as.formula(formula1),data=data_train,control=boost_control(mstop=400,nu=.1)) f.predict<-predict(mb1,newdata=data_train) Error in scale.default(X, center = cm, s

[R] Predicting New Data -

2013-01-04 Thread rydood
I am having trouble predicting new data with a model created from package mboost: > mb1<-glmboost(as.formula(formula1),data=data_train,control=boost_control(mstop=400,nu=.1)) > f.predict<-predict(mb1,newdata=data_train) Error in scale.default(X, center = cm, scale = FALSE) : length of 'center'