Reported by John Merrill via email.
The change from 1.6-3.2 to 2.0-8 breaks objects trained with older versions of
GBM, as 2.0-8 GBM objects include a new field, num.classes, which was not
present in older objects and the new versions of plot.gbm and predict.gbm don't
check for absence.
It's not hard to fix predict.gbm, at least -- instead of using the value in the
object, check for absence and set a local variable to 1 if there's nothing
there and to the value in the object if there's something there.
Thanks for work on the package, and thanks for all the new features in GBM 2.0
Original issue reported on code.google.com by harry.southworth on 29 Jan 2013 at 9:59
Original issue reported on code.google.com by
harry.southworth
on 29 Jan 2013 at 9:59