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

Sören picture Sören · Nov 13, 2015 · Viewed 13.6k times · Source

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?

Answer

Kehe CAI picture Kehe CAI · Dec 2, 2016

good question. you may have a look in kaggle competition:

Actually, in Learning to Rank field, we are trying to predict the relative score for each document to a specific query. That is, this is not a regression problem or classification problem. Hence, if a document, attached to a query, gets a negative predict score, it means and only means that it's relatively less relative to the query, when comparing to other document(s), with positive scores.