I have trained xgboost model in spark with one tree model with “-booster gbtree --eval_metric ndcg --objective rank:pairwise”, the dumped model text is as shown below.
The test data with only one record
It suppose to routed to leaf4: 0.049700520932674407958984375. However, the model predicting score gives 0.5497005. Is there an internal transfer function from the leaf score to the final predicting score inside xgboost? Can someone point a link? Thank you very much!!