harrysouthworth / gbm

Gradient boosted models
Other
106 stars 27 forks source link

cv.folds=1 #50

Open jmaddalena opened 7 years ago

jmaddalena commented 7 years ago

By mistake I specified cv.folds=1 and had a heck of a time debugging the following error:

Error in (function (formula = formula(data), distribution = "bernoulli", : object 'p' not found

Please create error message when user specifies cv.folds=1

az0 commented 7 years ago

I think this belongs in https://github.com/gbm-developers/gbm