remove default value for nrounds

This commit is contained in:
unknown
2014-08-27 22:12:30 -07:00
parent 4723b8c07e
commit 8a4e66299a
3 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
# train a model using given parameters
xgb.train <- function(params=list(), dtrain, nrounds = 10, watchlist = list(),
xgb.train <- function(params=list(), dtrain, nrounds, watchlist = list(),
obj = NULL, feval = NULL, ...) {
if (typeof(params) != "list") {
stop("xgb.train: first argument params must be list")