Skip to content

Commit

Permalink
removed further trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mayer79 committed Dec 28, 2021
1 parent 86d9077 commit 1c15663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R-package/R/lgb.cv.R
Expand Up @@ -31,7 +31,7 @@ CVBooster <- R6::R6Class(
#' @param showsd \code{boolean}, whether to show standard deviation of cross validation.
#' This parameter defaults to \code{TRUE}. Setting it to \code{FALSE} can lead to a
#' slight speedup by avoiding unnecessary computation.
#' @param eval_train_metric \code{boolean}, whether to add the cross validation results on the
#' @param eval_train_metric \code{boolean}, whether to add the cross validation results on the
#' training data. This parameter defaults to \code{FALSE}. Setting it to \code{TRUE}
#' will increase run time.
#' @param stratified a \code{boolean} indicating whether sampling of folds should be stratified
Expand Down Expand Up @@ -341,7 +341,7 @@ lgb.cv <- function(params = list()

booster <- Booster$new(params = params, train_set = dtrain)
if (isTRUE(eval_train_metric)) {
booster$add_valid(data = dtrain, name = "train")
booster$add_valid(data = dtrain, name = "train")
}
booster$add_valid(data = dtest, name = "valid")
return(
Expand Down

0 comments on commit 1c15663

Please sign in to comment.