Add newline char to early.stop.round message

This commit is contained in:
Derek Damron 2016-01-04 20:36:32 -08:00
parent cd0099f2a1
commit 8756d5b160

View File

@ -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
}
}