Skip to content

Commit d810e6d

Browse files
jiachengxuhcho3
authored andcommitted
Fix a typo in the R-package documentation: max.deph -> max.depth (dmlc#3890)
Signed-off-by: Jiacheng Xu <xjcmaxwellcjx@gmail.com>
1 parent be0bb7d commit d810e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/R-package/xgboostPresentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ In a *sparse* matrix, cells containing `0` are not stored in memory. Therefore,
176176
We will train decision tree model using the following parameters:
177177

178178
* `objective = "binary:logistic"`: we will train a binary classification model ;
179-
* `max.deph = 2`: the trees won't be deep, because our case is very simple ;
179+
* `max.depth = 2`: the trees won't be deep, because our case is very simple ;
180180
* `nthread = 2`: the number of cpu threads we are going to use;
181181
* `nrounds = 2`: there will be two passes on the data, the second one will enhance the model by further reducing the difference between ground truth and prediction.
182182

0 commit comments

Comments
 (0)