Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into docs
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS committed Jun 4, 2019
2 parents 05404c0 + b6f6578 commit 5443dab
Show file tree
Hide file tree
Showing 19 changed files with 1,354 additions and 1,008 deletions.
281 changes: 141 additions & 140 deletions R-package/R/callback.R

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions R-package/R/lgb.Booster.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Booster <- R6::R6Class(
public = list(

best_iter = -1,
best_score = -1,
best_score = NA,
record_evals = list(),

# Finalize will free up the handles
Expand Down Expand Up @@ -517,7 +517,7 @@ Booster <- R6::R6Class(
# Parse and store privately names
names <- strsplit(names, "\t")[[1]]
private$eval_names <- names
private$higher_better_inner_eval <- grepl("^ndcg|^auc$", names)
private$higher_better_inner_eval <- grepl("^ndcg|^map|^auc$", names)

}

Expand Down
Loading

0 comments on commit 5443dab

Please sign in to comment.