Skip to content

Commit

Permalink
[jvm-packages] Add rank:ndcg and rank:map to Spark supported objectiv…
Browse files Browse the repository at this point in the history
…es (dmlc#3697)
  • Loading branch information
Jerry Lin authored and CodingCat committed Sep 13, 2018
1 parent 42b1081 commit 9acd549
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private[spark] trait LearningTaskParams extends Params {
private[spark] object LearningTaskParams {
val supportedObjective = HashSet("reg:linear", "reg:logistic", "binary:logistic",
"binary:logitraw", "count:poisson", "multi:softmax", "multi:softprob", "rank:pairwise",
"reg:gamma", "reg:tweedie")
"rank:ndcg", "rank:map", "reg:gamma", "reg:tweedie")

val supportedEvalMetrics = HashSet("rmse", "mae", "logloss", "error", "merror", "mlogloss",
"auc", "aucpr", "ndcg", "map", "gamma-deviance")
Expand Down

0 comments on commit 9acd549

Please sign in to comment.