|
30 | 30 | #' @param mode A single character string for the type of model. |
31 | 31 | #' Possible values for this model are "unknown", "regression", or |
32 | 32 | #' "classification". |
33 | | -#' @param mtry An number for the number (or proportion) of predictors that will |
| 33 | +#' @param mtry A number for the number (or proportion) of predictors that will |
34 | 34 | #' be randomly sampled at each split when creating the tree models (`xgboost` |
35 | 35 | #' only). |
36 | 36 | #' @param trees An integer for the number of trees contained in |
37 | 37 | #' the ensemble. |
38 | 38 | #' @param min_n An integer for the minimum number of data points |
39 | 39 | #' in a node that are required for the node to be split further. |
40 | | -#' @param tree_depth An integer for the maximum deopth of the tree (i.e. number |
| 40 | +#' @param tree_depth An integer for the maximum depth of the tree (i.e. number |
41 | 41 | #' of splits) (`xgboost` only). |
42 | 42 | #' @param learn_rate A number for the rate at which the boosting algorithm adapts |
43 | 43 | #' from iteration-to-iteration (`xgboost` only). |
44 | 44 | #' @param loss_reduction A number for the reduction in the loss function required |
45 | 45 | #' to split further (`xgboost` only). |
46 | | -#' @param sample_size An number for the number (or proportion) of data that is |
| 46 | +#' @param sample_size A number for the number (or proportion) of data that is |
47 | 47 | #' exposed to the fitting routine. For `xgboost`, the sampling is done at at |
48 | | -#' each iteration while `C5.0` samples once during traning. |
| 48 | +#' each iteration while `C5.0` samples once during training. |
49 | 49 | #' @details |
50 | 50 | #' The data given to the function are not saved and are only used |
51 | 51 | #' to determine the _mode_ of the model. For `boost_tree()`, the |
@@ -277,7 +277,7 @@ check_args.boost_tree <- function(object) { |
277 | 277 | #' @param colsample_bytree Subsampling proportion of columns. |
278 | 278 | #' @param min_child_weight A numeric value for the minimum sum of instance |
279 | 279 | #' weights needed in a child to continue to split. |
280 | | -#' @param gamma An number for the minimum loss reduction required to make a |
| 280 | +#' @param gamma A number for the minimum loss reduction required to make a |
281 | 281 | #' further partition on a leaf node of the tree |
282 | 282 | #' @param subsample Subsampling proportion of rows. |
283 | 283 | #' @param ... Other options to pass to `xgb.train`. |
|
0 commit comments