Remove max.depth in R gblinear example. (#5753)
This commit is contained in:
parent
d3a0efbf16
commit
cfc23c6a6b
@ -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")
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user