The parameters accepted by the algorithm include:
-
objectiveto define the type of task, say regression or classification; -
colsample_bytreethe subsample ratio of columns when constructing each tree. Subsampling happens once in every iteration. This number is usually a value between 0 and 1; -
learning_ratethat determines how fast or slow the model will learn; -
max_depthindicates the maximum depth for each tree. The more the trees, the greater model complexity, and the higher chances of overfitting; -
alphais the L1 regularization on weights; -
n_estimatorsis the number of decision trees to fit.