Please A help about boosted regression trees model

Excuse me, i need a kind help about this...
how can I put replication in this codes?
how can I determine the R square from the result?
how can I get trees more than 1000, but my lr already 0.001, is it a problem?
for example: i have tried tr 1,2,3,4 , the result is still less than 1000..
below is the codes i used:

tesbrt <- gbm.step(data=shrub, gbm.x = 7:11, gbm.y = 13,
family = "gaussian", tree.complexity = 1,
learning.rate = 0.001, bag.fraction = 0.6)

a result I obtained:

mean total deviance = 2.198
mean residual deviance = 1.967

estimated cv deviance = 2.198 ; se = 0.287

training data correlation = 0.525
cv correlation = 0.103 ; se = 0.076

elapsed time - 0.25 minutes

please kindly help, thank you...

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.