Table A2

Tuning parameters for XGBoost

Tuning parameterDescriptionDefault valueOptimal value
Number of trees BB is also known as the number of estimators. Unlike random forests, XGBoost can overfit if B is too largeA relatively small number of trees (e.g. 100 trees)100
Learning rate λλ is a small positive number that controls the rate at which boosting learns. Unlike fitting a single large decision tree to the data, the boosting approach instead learns slowlyTypical values are 0.01 or 0.0010.1
Max depthThe max depth is the maximum number of nodes allowed from the root to the farthest leaf of a tree. Deeper trees can model more complex relationships by adding more nodes, but sometimes end up following noise, causing the model to overfitThe default number of the max depth is 63
Min child weightThe min child weight is the minimum weight (or number of samples if all samples have a weight of 1) required in order to create a new node in the tree. A smaller min child weight allows the algorithm to create children that correspond to fewer samples, thus allowing for more complex trees, but again, more likely to overfitThe default number of the min child weight is 17
Source(s): Created by the authors

or Create an Account

Close Modal
Close Modal