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 @@
# Main function for xgboost-package
xgboost <- function(data = NULL, label = NULL, params = list(), nrounds = 10,
xgboost <- function(data = NULL, label = NULL, params = list(), nrounds,
verbose = 1, ...) {
inClass <- class(data)
if (inClass == "dgCMatrix" || inClass == "matrix") {