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 upfitted.mboost() breaks when called with argument newdata #76
Comments
|
I see that it would be easy to fix the issue but I would hesitate to do that as fitted() should extract fitted values and not make predictions. That is what predict is for. Hence, I think we should discard |
|
Btw. I am planning to submit mboost today (given Torstens patch works) and we should hence submit gamboostLSS tomorrow (and then FDboost). |
|
To be honest, I would be happy if you could provide a fix for newdata. I am just into testing... |
|
Fine. I am on my way :) |
|
Thanks a lot! |
I am not sure whether this behaviour is on purpose or not. Anyway,
fitted.mboost()breaks when called with the argumentnewdata.yields
It would be very easy to fix
fitted.mboost()such that it behaves just aspredict.mboost()when called withnewdataby deletingnewdata=NULLin https://github.com/boost-R/mboost/blob/master/R/methods.R#L211:The question is, do we want this behaviour? Or generally ignore
newdatainfitted()? Or throw a warning / error?