Unverified Commit a66c3440 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[R] fix map metric is higher better (#2183)

parent a7885b60
...@@ -517,7 +517,7 @@ Booster <- R6::R6Class( ...@@ -517,7 +517,7 @@ Booster <- R6::R6Class(
# Parse and store privately names # Parse and store privately names
names <- strsplit(names, "\t")[[1]] names <- strsplit(names, "\t")[[1]]
private$eval_names <- names private$eval_names <- names
private$higher_better_inner_eval <- grepl("^ndcg|^auc$", names) private$higher_better_inner_eval <- grepl("^ndcg|^map|^auc$", names)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment