0
$\begingroup$

Which optimization technique does XGBoost use? I have trained my XGBoost classifier using the 'binary:logistic' objective. Does it use SGD / Adam?

$\endgroup$
  • 1
    $\begingroup$ Gradient boosting is not gradient decend. $\endgroup$ – Michael M Dec 8 '17 at 9:00
2
$\begingroup$

XGBoost uses a tree based boosting algorithm.

I'll highlight a few key aspects of this package based on the author's paper "XGBoost: A Scalable Tree Boosting System" as follows:

  1. Its learning objective function is a set of additive regression trees (refer to section 2.1 of the paper).
  2. Each additive tree contains leaf weights with continuous scores. These are used to classify an example by summing up the scores in the corresponding leaves.
  3. The objective function to be minimized is a regularised differentiable convex loss function that measures the difference between the prediction and the target (as given in equation 2).
  4. As described in this paper (section 2.2), the tree ensemble model in equation 2 includes functions as parameters and cannot be optimized using traditional optimization methods in Euclidean space. Instead, the model is trained in an additive manner.

You should refer to the paper for a more complete description of their method, the greedy search algorithm they've implemented and the improvements they've made which makes this implementation work so well.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.