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
3837e60d
Unverified
Commit
3837e60d
authored
Jun 05, 2021
by
James Lamb
Committed by
GitHub
Jun 05, 2021
Browse files
[R-package] remove unused argument in early stopping callback (#4342)
parent
28c3c45d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
R-package/R/callback.R
R-package/R/callback.R
+1
-1
No files found.
R-package/R/callback.R
View file @
3837e60d
...
@@ -324,7 +324,7 @@ cb.early.stop <- function(stopping_rounds, first_metric_only = FALSE, verbose =
...
@@ -324,7 +324,7 @@ cb.early.stop <- function(stopping_rounds, first_metric_only = FALSE, verbose =
}
}
# Create callback
# Create callback
callback
<-
function
(
env
,
finalize
=
FALSE
)
{
callback
<-
function
(
env
)
{
# Check for empty evaluation
# Check for empty evaluation
if
(
is.null
(
eval_len
))
{
if
(
is.null
(
eval_len
))
{
...
...
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