Remove max.depth in R gblinear example. (#5753)
This commit is contained in:
@@ -407,7 +407,7 @@ Until now, all the learnings we have performed were based on boosting trees. **X
|
|||||||
|
|
||||||
|
|
||||||
```r
|
```r
|
||||||
bst <- xgb.train(data=dtrain, booster = "gblinear", max.depth=2, nthread = 2, nrounds=2, watchlist=watchlist, eval.metric = "error", eval.metric = "logloss", objective = "binary:logistic")
|
bst <- xgb.train(data=dtrain, booster = "gblinear", nthread = 2, nrounds=2, watchlist=watchlist, eval.metric = "error", eval.metric = "logloss", objective = "binary:logistic")
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user