From 8756d5b1609a488c7c4933e94e29422223a1d957 Mon Sep 17 00:00:00 2001 From: Derek Damron Date: Mon, 4 Jan 2016 20:36:32 -0800 Subject: [PATCH] Add newline char to early.stop.round message --- R-package/R/xgb.cv.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R-package/R/xgb.cv.R b/R-package/R/xgb.cv.R index 89edbeb63..7ad2e5c41 100644 --- a/R-package/R/xgb.cv.R +++ b/R-package/R/xgb.cv.R @@ -200,7 +200,7 @@ xgb.cv <- function(params=list(), data, nrounds, nfold, label = NULL, missing = } else { if (i - bestInd >= early.stop.round) { earlyStopflag <- TRUE - cat('Stopping. Best iteration:',bestInd) + cat('Stopping. Best iteration:', bestInd, '\n') break } }