- device
Can be either "cpu"
or "cuda"
. For ther options please refer to XGBoost documentation on parameters.
- tree_method
Options: "auto"
, "exact"
, "approx"
, and "hist"
. Default: "hist"
.
- eta
Step size shrinkage. Default: 0.3.
- gamma
Minimum loss reduction required to make a further partition on a leaf node of the tree. Default: 0
- max_depth
Maximum depth of a tree. Default: 3.
- min_child_weight
Minimum sum of instance weight needed in a child. Default: 1.
- max_delta_step
Maximum delta step. Default: 0.
- subsample
Subsampling ratio of the data. Default: 0.7.
- sampling_method
The method used to sample the data. Default: "uniform"
.
- colsample_bytree
Subsampling ratio of columns when constructing each tree. Default: 1.
- colsample_bylevel
Subsampling ratio of columns for each level. Default: 1.
- colsample_bynode
Subsampling ratio of columns for each node. Default: 1.
- lambda
L2 regularization term on weights. Default: 1.
- alpha
L1 regularization term on weights. Default: 0.
- max_leaves
Maximum number of nodes to be added (Not used when tree_method = "exact"
). Default: 0.
- max_bin
Maximum number of discrete bins to bucket continuous features (Only used when tree_method
is either "hist"
, "approx"
or "gpu_hist"
). Default: 256.
- num_parallel_tree
The number of parallel trees used for boosted random forests. Default: 1.
- nthread
The number of CPU threads to be used. Default: -1 (all available threads).