Unverified Commit 4ecd08cd authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

quick fix #1147

parent a5f43c9d
...@@ -359,7 +359,7 @@ cb.early.stop <- function(stopping_rounds, verbose = TRUE) { ...@@ -359,7 +359,7 @@ cb.early.stop <- function(stopping_rounds, verbose = TRUE) {
} }
} }
if (isFALSE(env$met_early_stop) && cur_iter == env$end_iteration) { if (!isTRUE(env$met_early_stop) && cur_iter == env$end_iteration) {
# Check if model is not null # Check if model is not null
if (!is.null(env$model)) { if (!is.null(env$model)) {
env$model$best_score <- best_score[i] env$model$best_score <- best_score[i]
......
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