boost-R / mboost

Boosting algorithms for fitting generalized linear, additive and interaction models to potentially high-dimensional data. The current relase version can be found on CRAN (http://cran.r-project.org/package=mboost).
73 stars 27 forks source link

predict with zero seletced base-learners broken #87

Closed hofnerb closed 6 years ago

hofnerb commented 6 years ago
library(mboost)
m = glmboost(speed ~ dist, data = cars, control = boost_control(mstop = 0))
predict(m, type = "response", newdata = cars)

# Error in names(pr) <- nm : 
#  'names' attribute [50] must be the same length as the vector [2]

See https://github.com/boost-R/gamboostLSS/issues/48