refine style with max.depth

This commit is contained in:
hetong
2014-09-06 23:20:11 -07:00
parent 1925321a16
commit 9e3b878943
7 changed files with 11 additions and 11 deletions

View File

@@ -162,7 +162,7 @@ evalerror <- function(preds, dtrain) {
dtest <- xgb.DMatrix(test$data, label = test$label)
watchlist <- list(eval = dtest, train = dtrain)
param <- list(max_depth = 2, eta = 1, silent = 1)
param <- list(max.depth = 2, eta = 1, silent = 1)
bst <- xgb.train(param, dtrain, nround = 2, watchlist, logregobj, evalerror)
@