xgboost-adv-workshop-LA icon indicating copy to clipboard operation
xgboost-adv-workshop-LA copied to clipboard

question or to discuss: how to find optimal parameters of xgb?

Open lihang00 opened this issue 8 years ago • 5 comments

I usually do a grid search of the following parameter set:

param_grid = { "learning_rate" : [ 0.1, 0.05, 0.01], "n_estimators" : [ 100, 500, 1000], "max_depth" : [ 4, 8, 12], "min_child_weight" : [ 1, 5, 10], "subsample" : [1, 0.8],
"colsample_bytree" : [1, 0.8] }

Most time ppl can find a much better parameter set.

lihang00 avatar May 31 '16 18:05 lihang00