Re: [R] gbm function

From: Patrick Connolly <>
Date: Sat, 26 Jun 2010 16:06:38 +1200

On Wed, 23-Jun-2010 at 12:05AM -0700, azam jaafari wrote:

|> ?Hello
|> ?
|> I have questions about gbm package.??It seems we have to?devide data to two part (training?set and test set) for first.
|> ?
|> 1- trainig set for?running of gbm function
|> 2- test set for?gbm.perf???
|> ?
|> is it rigth?
|> I have 123 sample that I devided 100 for trainig and 23 for test.
|> ?
|> So, parameter of?cv.folds?in gbm function is for what?

There's quite a lot to be known about how to use those functions. The vignette gives a bit of an idea, but I came across this article which helped me work out how to use them.

 A working guide to boosted regression trees J. Elith,  J. R. Leathwick, T. Hastie Journal of Animal Ecology Volume 77 ,  Issue 4 , Pages802 - 813 Journal compilation 2008 British  Ecological Society


   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 26 Jun 2010 - 04:11:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 26 Jun 2010 - 06:00:35 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive