Open farbodr opened 8 years ago
Can you try the same procedure with the same data, but use separate X and Y vectors instead of the formula interface? Looking at this I have a suspicion it is something with the formula interface, which we admittedly don't test very well in our unit tests.
Good catch @jknowles. @farbodr the formula interface is really sub-optimal. Try the X
/Y
interface instead.
@farbodr Does this issue occur if you use the X/Y
interface and caretEnsemble 2.0.0 from CRAN?
I haven't but will give it a try this weekend.
I couldn't find my original example so I used another one and X/Y still produces same error. The interesting thing is that if I remove glmboost from the model list the problem goes away. I can put something together with smaller data set so I can post it here if that helps.
Try a caret::train
model on your data, using method='glmboost'
.
I've had problems with that model in the past.
I am also getting this bug, but switching to X/Y instead of the formula interface brakes random forest with error: Error in predict.randomForest(modelFit, newdata, type = "prob") :missing values in newdata
.
caretEnsable running only an rf model works fine through the formula interface.
Run anyNA(X) and anyNA(Y)
Sent from my iPhone
On Mar 9, 2016, at 7:15 PM, Jason Cohen notifications@github.com wrote:
I am also getting this bug, but switching to X/Y instead of the formula interface brakes random forest with error: Error in predict.randomForest(modelFit, newdata, type = "prob") :missing values in newdata.
caretEnsable running only an rf model works fine through the formula interface.
— Reply to this email directly or view it on GitHub.
I am facing the same issue, any updates?
I'm using the following code to train multiple caret models and it looks like caretList is duplicating row in resample.
if I load the r object 'xgb_rf_glmb_glm_pls_cv_5_all.RData' here is what I see for glmboost model vs glm (and all other models in the list)
Obviously I can't run the caretEnsemble method with model.list3. It (understandably) give this error: