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
cadcdf61
Commit
cadcdf61
authored
Jan 11, 2017
by
Laurae
Committed by
Guolin Ke
Jan 12, 2017
Browse files
Fix R package compilation error (#194)
parent
455ba60f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
R-package/R/lgb.Booster.R
R-package/R/lgb.Booster.R
+1
-2
No files found.
R-package/R/lgb.Booster.R
View file @
cadcdf61
...
...
@@ -243,8 +243,7 @@ Booster <- R6Class(
private
$
eval_names
<-
names
private
$
higher_better_inner_eval
<-
rep
(
FALSE
,
length
(
names
))
for
(
i
in
seq_along
(
names
))
{
if
(
names
[
i
])
==
"auc"
|
grepl
(
"^ndcg"
,
names
[
i
]))
{
if
((
names
[
i
]
==
"auc"
)
|
grepl
(
"^ndcg"
,
names
[
i
]))
{
private
$
higher_better_inner_eval
[
i
]
<-
TRUE
}
}
...
...
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