Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gtesei committed Oct 28, 2015
1 parent 2b8edab commit f58c029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R-package/R/fastRegression.R
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,6 @@ ff.xgb.cv <- function(params=list(), data, nrounds, nfold, label = NULL, xgb.met
cat('>> inside ff.xgb:: stopping [',early.stop,'=early.stop < nrounds=',(iter.num*nrounds+nrounds),'] [perf.xg=',perf.xg,'] ... \n')

} else {
iter.num = iter.num + 1

if (maximize) {
perf.last = max(dt[[lab]])
Expand All @@ -1389,6 +1388,8 @@ ff.xgb.cv <- function(params=list(), data, nrounds, nfold, label = NULL, xgb.met
}

cat(">> inside ff.xgb:: redo-cv [early.stop == nrounds=",(iter.num*nrounds+nrounds),"] [perf.last=",perf.last,"] with nrounds=",((iter.num+1)*nrounds+nrounds)," ... \n")

iter.num = iter.num + 1
}

## gc
Expand Down
Binary file modified fastfurious-manual.pdf
Binary file not shown.

0 comments on commit f58c029

Please sign in to comment.