Skip to content

Commit

Permalink
document default changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Nov 29, 2019
1 parent 5ecdf22 commit ad9ab82
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ RdMacros: mlr3misc
Encoding: UTF-8
NeedsCompilation: no
Roxygen: list(markdown = TRUE, r6 = FALSE)
RoxygenNote: 7.0.0
RoxygenNote: 7.0.1
4 changes: 4 additions & 0 deletions R/LearnerClassifXgboost.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
#' eXtreme Gradient Boosting classification.
#' Calls [xgboost::xgb.train()] from package \CRANpkg{xgboost}.
#'
#' We changed the following defaults for this learner:
#' * Verbosity is reduced by setting `verbose` to `0`.
#' * Number of boosting iterations `nrounds` is set to `1`.
#'
#' @references
#' \cite{mlr3learners}{chen_2016}
#'
Expand Down
3 changes: 2 additions & 1 deletion R/LearnerRegrGlmnet.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
#' @description
#' Generalized linear models with elastic net regularization.
#' Calls [glmnet::cv.glmnet()] from package \CRANpkg{glmnet}.
#' Hyperparameter `family` is set to `"gaussian"`.
#'
#' The default for hyperparameter `family` is changed to `"gaussian"`.
#'
#' @references
#' \cite{mlr3learners}{friedman_2010}
Expand Down
4 changes: 4 additions & 0 deletions R/LearnerRegrXgboost.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
#' eXtreme Gradient Boosting regression.
#' Calls [xgboost::xgb.train()] from package \CRANpkg{xgboost}.
#'
#' We changed the following defaults for this learner:
#' * Verbosity is reduced by setting `verbose` to `0`.
#' * Number of boosting iterations `nrounds` is set to `1`.
#'
#' @references
#' \cite{mlr3learners}{chen_2016}
#'
Expand Down
6 changes: 6 additions & 0 deletions man/LearnerClassifXgboost.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/LearnerRegrGlmnet.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions man/LearnerRegrXgboost.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ad9ab82

Please sign in to comment.