To submit to CRAN we cannot use more than 2 threads in our examples/vignettes

This commit is contained in:
hetong
2015-03-03 00:21:24 -08:00
parent 87ec48c1d3
commit 41b080e35f
36 changed files with 61 additions and 59 deletions

View File

@@ -153,7 +153,7 @@ The code below is very usual. For more information, you can look at the document
```{r}
bst <- xgboost(data = sparse_matrix, label = output_vector, max.depth = 4,
eta = 1, nround = 10,objective = "binary:logistic")
eta = 1, nthread = 2, nround = 10,objective = "binary:logistic")
```