Skip to content

Commit b6082f1

Browse files
Update boost_tree.R (#743)
Adding an extra line for `learn_rate` documentation, as some textbooks refer it as the shrinkage. You can view it [here](https://medium.com/data-design/let-me-learn-the-learning-rate-eta-in-xgboost-d9ad6ec78363#:~:text=The%20learning%20rate%20is%20the,the%20step%20weight%20is%200.25)
1 parent 34e27a2 commit b6082f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/boost_tree.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
#' @param tree_depth An integer for the maximum depth of the tree (i.e. number
3030
#' of splits) (specific engines only).
3131
#' @param learn_rate A number for the rate at which the boosting algorithm adapts
32-
#' from iteration-to-iteration (specific engines only).
32+
#' from iteration-to-iteration (specific engines only). This is sometimes referred to
33+
#' as the shrinkage parameter.
3334
#' @param loss_reduction A number for the reduction in the loss function required
3435
#' to split further (specific engines only).
3536
#' @param sample_size A number for the number (or proportion) of data that is

0 commit comments

Comments
 (0)