Boris Yangel
2009-Jul-29 20:36 UTC
[R] gbm package: relationship between interaction.depth and number of features?
Hello. I'm currently stuck with the same "what does interaction.depth really mean" stuff. Did you find out what the right answer is? Best regards, Boris Yangel. [[alternative HTML version deleted]]
Patrick Connolly
2009-Jul-31 09:56 UTC
[R] gbm package: relationship between interaction.depth and number of features?
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 ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.