Quantcast
Viewing all articles
Browse latest Browse all 4448

How to specify the number of trees in gradient boosting while using caret

@hackers wrote:

hello,

While using gradient boosting and random forests I got some doubts:

1.When should we use one over the other.

2 .modFit <- train(member_card ~ ., method="gbm",data=training,verbose=FALSE)
I am using the caret package to train so wanted to know if there is a way to specify the number of trees in this model.

Can someone please help me with these??

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles