How does one find the optimal value for the tuning parameters in boosting trees?
-
I realise that there are 3 tuning parameters in the boosting trees model, i.e. the number of trees (number of iterations) shrinkage parameter number of splits (size of the constituent trees) My question is: for each of the tuning parameters, how should I find its optimal value ? And what method ? Note that: the shrinkage parameter and the number of trees parameter operate together, i.e. a smaller value for shrinkage parameter leads to a higher value for the number of trees. And we need to take this into account too. I am particularly interested in the method to find the optimal value for the number of splits. Should it be based on cross-validation or domain knowledge about the model behind? And how are these things carried out in the gbm package in R ?
-
Answer:
You may find these model selection and evaluation methods helpful: grid search, pipeline and feature union. Python users can refer to http://scikit-learn.org/stable/model_selection.html
Shuai Wang at Quora Visit the source
Related Q & A:
- What is a recruiter and how do I find one?Best solution by guides.wsj.com
- How do I find the Critical Value?Best solution by Yahoo! Answers
- How can I find one of these?Best solution by Yahoo! Answers
- How would I find the present value of a short position zero coupon bond?Best solution by Yahoo! Answers
- How do you find out the value of your barbies?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.