1
$\begingroup$

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?

$\endgroup$
1
2
$\begingroup$

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

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.