1

I have read some of the previous posts about this issue and I still do not understand how caret decides on the number of trees when you use the model=cforest from party package. I know that at certain threshold there is no use of building more trees, but how is this optimal number calculated? Is it a default?

user2746266
  • 11
  • 1
  • 2

1 Answers1

2

The train function only varies the tuning parameters and the other function arguments are left to their defaults. In this case, ?cforest_control reports that ntree = 500.

Please take a look at the caret homepage. There is a lot of detail.

Max

topepo
  • 5,820
  • 1
  • 19
  • 24