Closed GoogleCodeExporter closed 9 years ago
Thanks for posting, I am experiencing this error too
Original comment by jeff.ct....@gmail.com
on 24 Sep 2013 at 3:04
I'm getting the same error too. It turns out that "gbmCrossVal" passes the full
"data" data.frame instead "x" to "gbmCrossValPredictions", which has all the
predictors, not just those in the formula. Since "gbmCrossValModelBuild" uses
"gbm.fit", the cross validation models do not have "Terms" slot, thus fail to
rearrange predictors.
When there are unused factor variables, it gives the error. Otherwise, gbm runs
without errors but gives wrong "cv.fitted" values (which will affect
"print.gbm"). Attached file is a simple patch file.
Original comment by bkcho...@gmail.com
on 13 Nov 2013 at 1:20
Attachments:
Thanks for posting. Sorry to have gone quiet for a while. I'll try to upload a
fixed version soon.
Original comment by harry.southworth
on 14 Nov 2013 at 3:46
Original comment by harry.southworth
on 14 Nov 2013 at 3:47
I'm experiencing the same problem. Something to do with R 3.0? Anyway, will
give the patch a try, thanks!
Original comment by mrbenmo...@gmail.com
on 15 Nov 2013 at 8:14
Patched. Thank you all!
I've moved the project to Github
https://github.com/harrysouthworth/gbm
The patch should be in the latest release on there 2.1-0.3
Please let me know (at Github) if you have any further problems.
Thanks again,
Harry
Original comment by harry.southworth
on 26 Nov 2013 at 2:45
Original issue reported on code.google.com by
meto...@gmail.com
on 26 Jun 2013 at 6:18Attachments: