Skip to content

Commit

Permalink
[R] Fix incorrect division of classification/ranking objectives (#10327)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed May 27, 2024
1 parent b200877 commit 949f062
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R-package/R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ NVL <- function(x, val) {
}

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


Expand Down

0 comments on commit 949f062

Please sign in to comment.