Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the output of XGboost using 'rank:pairwise'?

Tags:

xgboost

I use the python implementation of XGBoost. One of the objectives is rank:pairwise and it minimizes the pairwise loss (Documentation). However, it does not say anything about the scope of the output. I see numbers between -10 and 10, but can it be in principle -inf to inf?

like image 619
Soren Avatar asked Nov 13 '15 18:11

Soren


People also ask

How to train pairwise ranking models in XGBoost?

search - How fit pairwise ranking models in XGBoost? - Data Science Stack Exchange As far as I know, to train learning to rank models, you need to have three things in the dataset: label or relevance group or query id feature vector For example, the Microsoft Learning to Rank d... Stack Exchange Network

What are XGBoost’s three objective functions?

When ranking with XGBoost there are three objective-functions; Pointwise, Pairwise, and Listwise. These three objective functions are different methods of finding the rank of a set of items, and each has its own strengths and weaknesses.

How good is XGBoost for classification and regression?

For classification and regression, XGBoost starts with an initial prediction usually 0.5, as shown in the below diagram. To find how good the prediction is, calculate the Loss function, by using the formula, For the given example, it came out to be 196.5.

Where does XGBoost use second-order Taylor approximation?

If lambda = 0, the optimal output value is at the bottom of the parabola where the derivative is zero. XGBoost uses Second-Order Taylor Approximation for both classification and regression. The loss function containing output values can be approximated as follows:


1 Answers

It gives predicted score for ranking. However, the scores are valid for ranking only in their own groups. So we must set the groups for input data.

For esay ranking, refer to my project xgboostExtension

like image 163
bigdong Avatar answered Sep 20 '22 22:09

bigdong