This commit is contained in:
tqchen
2014-09-05 22:46:09 -07:00
parent 831a102d48
commit ab238ff831
3 changed files with 16 additions and 6 deletions

View File

@@ -208,7 +208,7 @@ xgb.cv.mknfold <- function(dall, nfold, param) {
return (ret)
}
xgb.cv.aggcv <- function(res, showsd = TRUE) {
header = res[[1]]
header <- res[[1]]
ret <- header[1]
for (i in 2:length(header)) {
kv <- strsplit(header[i], ":")[[1]]