carolssnz / gradientboostedmodels

Automatically exported from code.google.com/p/gradientboostedmodels
0 stars 0 forks source link

Incompatibility with 1.6 #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
So far as I know, this is fixed.
Harry

Original comment by harry.southworth on 8 Apr 2013 at 4:06