Skip to content

gbm error

2 messages · Darin Brooks, jtf2076

#
Darrin, what version of R are you using have the same question.  I have been
using the gbm package without problem with R 2.7.1. but I recently switched
computers and downloaded 2.7.2.  I used the following code, which works fine
on my old computer with 2.7.1 but I get an error with the new version.
+     gbm.x = 7:14,
+     gbm.y = 24,
+     family = "bernoulli",
+     tree.complexity = 5,
+     learning.rate = 0.01,
+     bag.fraction = 0.5)
Error: could not find function "gbm.step"
Darin Brooks wrote: