xgboost之 'objective': 'rank:pairwise',

1、The objective function is used for optimization not the evaluation function. rank:pairwise and multi:softprob are objective functions,

and will change the predictions depending on which one you use.

 2、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.

 

这些是从stackingflow上看到的。查阅xgboost官网,有

  • “rank:pairwise” –set XGBoost to do ranking task by minimizing the pairwise loss

 

而“AUC是一种pairwise loss" (见https://weibo.com/3121700831/DA44jgtJR?type=comment)。所以对于AUC问题,就是用这个东西了?

 

 

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值