Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uppredict.mboost with newdata when argument index was used in bl #15
Comments
|
Thanks, @sbrockhaus. I just had a look at your problems. Regarding the Often, Note that Having said this, the remaining problem is the prediction with
I am now investigating where we have to change the subsetting of newdata. Instead of |
|
Thank you very much for the explanation! |
I have some troubles with predict.mboost() when passing the argument newdata, but I think this is mainly an issue of documentation. I fit a model using mboost() and then want to use predict.mboost() with the argument newdata.
As far as I understand, it is not possible to pass a list instead of a data.frame to newdata, even when the model-fit was done using data in list form, as it happens when using the argument index (an exception to this is the use of %O% which I could not find in the help either).
But the real question is, what happens with the index in the prediction. I wrote a small code example for this and to me it looks like the index-variable does not have any influence on the prediciton. This was somewhat unexpected to me and I wanted to ask why this is the case and whether you could add a comment on this in the documentation.