... and similarly for other distributions. Whilst this doesn't affect the functionality of the package, it is a bit inconvenient.
Could the requirement be lowered to factors with two levels, and implicit conversion done within gbm.fit() (or whatever function from within the package is being used)?
Likewise, in the correspondingpredict() method, could a factor be returned instead of 0's and 1's?
... and similarly for other distributions. Whilst this doesn't affect the functionality of the package, it is a bit inconvenient.
Could the requirement be lowered to factors with two levels, and implicit conversion done within
gbm.fit()
(or whatever function from within the package is being used)?Likewise, in the corresponding
predict()
method, could a factor be returned instead of0
's and1
's?