Skip to content

Commit 949f062

Browse files
authored
[R] Fix incorrect division of classification/ranking objectives (dmlc#10327)
1 parent b200877 commit 949f062

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

R-package/R/utils.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ NVL <- function(x, val) {
2727
}
2828

2929
.RANKING_OBJECTIVES <- function() {
30-
return(c('binary:logistic', 'binary:logitraw', 'binary:hinge', 'multi:softmax',
31-
'multi:softprob'))
30+
return(c('rank:pairwise', 'rank:ndcg', 'rank:map'))
3231
}
3332

3433

0 commit comments

Comments
 (0)