[R] gbm package: relationship between interaction.depth and number of features?
Patrick Connolly
p_connolly at slingshot.co.nz
Fri Jul 31 11:56:12 CEST 2009
On Thu, 30-Jul-2009 at 12:36AM +0400, Boris Yangel wrote:
|> Hello. I'm currently stuck with the same "what does interaction.depth really
|> mean" stuff. Did you find out what the right answer is?
|>
I stand to be corrected, but I think it is one fewer than the number
of leaves in the final tree. Stumps will have and interaction.depth
of 1 (and have two leaves). Adding 1 to it will give three leaves.
HTH
--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
___ Patrick Connolly
{~._.~} Great minds discuss ideas
_( Y )_ Average minds discuss events
(:_~*~_:) Small minds discuss people
(_)-(_) ..... Eleanor Roosevelt
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
More information about the R-help
mailing list