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

fix predict with 0 iters #91

Closed ja-thomas closed 6 years ago

ja-thomas commented 6 years ago

Fix #87

Pretty simple bug :)

that seems to fix the example posted in https://github.com/boost-R/gamboostLSS/issues/48 as well.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.02%) to 78.63% when pulling 7f38a4677ed358cc3cd8d68e0721fb89c6126c74 on fix_87 into 2c13f71fb197f430fb2ef2c674579c3a65419c21 on master.

hofnerb commented 6 years ago

Thanks a lot, @ja-thomas! That was obviously too easy to be spoted.