small changes in doc

This commit is contained in:
pommedeterresautee
2015-03-15 23:51:26 +01:00
parent 93a019d174
commit cdfa78a3b9
6 changed files with 44 additions and 4 deletions

View File

@@ -45,7 +45,7 @@
#' train <- agaricus.train
#' test <- agaricus.test
#' bst <- xgboost(data = train$data, label = train$label, max.depth = 2,
#' eta = 1, nthread = 2, nround = 2,objective = "binary:logistic")
#' eta = 1, nthread = 2, nround = 2, objective = "binary:logistic")
#' pred <- predict(bst, test$data)
#'
#' @export