Displaying 2 results from an estimated 2 matches for "lr01".
Did you mean:
lm01
2013 Jun 23
1
Which is the final model for a Boosted Regression Trees (GBM)?
...lues but I wanted to calculate the fitted value by hand to understand in depth. Would you give moe some hints on what is the final model for this example?
Thanks
KG
-------
The following script I used
#-----------------------
library(dismo)
data(Anguilla_train)
head(Anguilla_train)
angaus.tc5.lr01 <- gbm.step(data=Anguilla_train, gbm.x = 3:13, gbm.y = 2,
+ family = "bernoulli", tree.complexity = 5,
+ learning.rate = 0.01, bag.fraction = 0.5)
names(angaus.tc5.lr01)
[1] "initF" "fit"...
2008 Sep 22
1
gbm error
...= colz,
family = "bernoulli",
tree.complexity = 5,
learning.rate = 0.01,
bag.fraction = 0.5)
... I keep encountering the same error:
ERROR:
unexpected ')' in "bag.fraction = 0.5)"
I've tried all sorts of variations (such as)
sep22BRT.lr01 <- gbm{data=sep22BRT,
gbm.x = sep22BRT[,3:42],
gbm.y = sep22BRT[,1],
family = "bernoulli",
tree.complexity = 5,
learning.rate = 0.01,
bag.fraction = 0.5}
and cannot find the problem.
Is there a glaring error that I am overlooking?
Darin Brooks
Geomatics/GIS/Remote Sensi...