You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the XGBoost C API to do some ranking tasks and I have tried to use rank:pairwise, rank:map, and rank:ndcg as the objective, however, when I use rank:map, and rank:ndcg to train and predict, all the predicted values are constant, but it is not a problem when I use rank:pairwise. Does anyone know what could be wrong in my setup? Or is there a better way other than digging into the source code? Thank you!
The text was updated successfully, but these errors were encountered:
I have checked that the relevance in the training data are all from 0 to 1, and the inference data are not constant. I think the training has some problems, the metric does not change at all from the first iteration to 10 iterations (while it changes if I use
regression or rank:pairwise.
I am using the XGBoost C API to do some ranking tasks and I have tried to use
rank:pairwise
,rank:map
, andrank:ndcg
as the objective, however, when I userank:map
, andrank:ndcg
to train and predict, all the predicted values are constant, but it is not a problem when I userank:pairwise
. Does anyone know what could be wrong in my setup? Or is there a better way other than digging into the source code? Thank you!The text was updated successfully, but these errors were encountered: