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
7b51ee1c
Unverified
Commit
7b51ee1c
authored
May 23, 2022
by
James Lamb
Committed by
GitHub
May 23, 2022
Browse files
[R-package] remove semicolon in R code (#5232)
parent
d3832368
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
R-package/R/lgb.Booster.R
R-package/R/lgb.Booster.R
+3
-2
No files found.
R-package/R/lgb.Booster.R
View file @
7b51ee1c
...
...
@@ -719,8 +719,9 @@ Booster <- R6::R6Class(
res
<-
feval
(
private
$
inner_predict
(
data_idx
),
data
)
if
(
is.null
(
res
$
name
)
||
is.null
(
res
$
value
)
||
is.null
(
res
$
higher_better
))
{
stop
(
"lgb.Booster.eval: custom eval function should return a
list with attribute (name, value, higher_better)"
);
stop
(
"lgb.Booster.eval: custom eval function should return a list with attribute (name, value, higher_better)"
)
}
# Append names and evaluation
...
...
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