Add newline char to early.stop.round message

This commit is contained in:
Derek Damron 2016-01-04 20:35:57 -08:00
parent fa205cdaf8
commit cd0099f2a1

View File

@ -212,7 +212,7 @@ xgb.train <- function(params=list(), data, nrounds, watchlist = list(),
} else {
earlyStopflag = TRUE
if (i - bestInd >= early.stop.round) {
cat('Stopping. Best iteration:',bestInd)
cat('Stopping. Best iteration:', bestInd, '\n')
break
}
}