Unverified Commit 3837e60d authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[R-package] remove unused argument in early stopping callback (#4342)

parent 28c3c45d
...@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment