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
5e90255e
Unverified
Commit
5e90255e
authored
Nov 08, 2023
by
James Lamb
Committed by
GitHub
Nov 08, 2023
Browse files
[R-package] remove unreachable code (#6180)
parent
aeafccfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
R-package/R/lgb.Booster.R
R-package/R/lgb.Booster.R
+0
-1
No files found.
R-package/R/lgb.Booster.R
View file @
5e90255e
...
@@ -1462,7 +1462,6 @@ lgb.get.eval.result <- function(booster, data_name, eval_name, iters = NULL, is_
...
@@ -1462,7 +1462,6 @@ lgb.get.eval.result <- function(booster, data_name, eval_name, iters = NULL, is_
,
toString
(
eval_names
)
,
toString
(
eval_names
)
,
"]"
,
"]"
))
))
stop
(
"lgb.get.eval.result: wrong eval name"
)
}
}
result
<-
booster
$
record_evals
[[
data_name
]][[
eval_name
]][[
.EVAL_KEY
()]]
result
<-
booster
$
record_evals
[[
data_name
]][[
eval_name
]][[
.EVAL_KEY
()]]
...
...
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