Skip to content

Commit

Permalink
[R-package] remove unused argument in early stopping callback (#4342)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Jun 5, 2021
1 parent 28c3c45 commit 3837e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R-package/R/callback.R
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ cb.early.stop <- function(stopping_rounds, first_metric_only = FALSE, verbose =
}

# Create callback
callback <- function(env, finalize = FALSE) {
callback <- function(env) {

# Check for empty evaluation
if (is.null(eval_len)) {
Expand Down

0 comments on commit 3837e60

Please sign in to comment.