Skip to content

Commit

Permalink
docs: more detail for use_groups
Browse files Browse the repository at this point in the history
  • Loading branch information
advieser committed Nov 5, 2024
1 parent cf7bca8 commit 4f540ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions R/PipeOpSubsample.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
#' * `stratify` :: `logical(1)`\cr
#' Should the subsamples be stratified by target? Initialized to `FALSE`. May only be `TRUE` for [`TaskClassif`][mlr3::TaskClassif] input and if `use_groups = FALSE`.
#' * `use_groups` :: `logical(1)`\cr
#' If `TRUE` and if the [`Task`][mlr3::Task] has a column with role `group`, grouped observations are kept together during subsampling. May only be `TRUE` if `strafiy = FALSE`.
#' Initialized to `TRUE`.
#' If `TRUE` and if the [`Task`][mlr3::Task] has a column with role `group`, grouped observations are kept together during subsampling. In case of sampling with
# `replace = TRUE`, the group entry of duplicate samples is suffixed (`_1`, `_2`, ...). May only be `TRUE` if `strafiy = FALSE`. Initialized to `TRUE`.
#' * `replace` :: `logical(1)`\cr
#' Sample with replacement? Initialized to `FALSE`.
#'
Expand Down
2 changes: 1 addition & 1 deletion man/mlr_pipeops_learner_quantiles.Rd

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

3 changes: 1 addition & 2 deletions man/mlr_pipeops_subsample.Rd

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

0 comments on commit 4f540ae

Please sign in to comment.