Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
a66c3440
Unverified
Commit
a66c3440
authored
May 18, 2019
by
Nikita Titov
Committed by
GitHub
May 18, 2019
Browse files
[R] fix map metric is higher better (#2183)
parent
a7885b60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
R-package/R/lgb.Booster.R
R-package/R/lgb.Booster.R
+1
-1
No files found.
R-package/R/lgb.Booster.R
View file @
a66c3440
...
@@ -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
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment