Skip to content

Commit

Permalink
docs: fix autofselector example
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Nov 15, 2022
1 parent 55f1735 commit 4648855
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions R/AutoFSelector.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#' afs$learner
#'
#' # shortcut fselect instance
#' afs$tuning_instance
#' afs$fselect_instance
#'
#'
#' # Nested Resampling
Expand All @@ -80,7 +80,7 @@
#' resampling_outer = rsmp("cv", folds = 3)
#' rr = resample(task, afs, resampling_outer, store_models = TRUE)
#'
#' # retrieve inner tuning results.
#' # retrieve inner feature selection results.
#' extract_inner_fselect_results(rr)
#'
#' # performance scores estimated on the outer resampling
Expand Down Expand Up @@ -291,7 +291,7 @@ AutoFSelector = R6Class("AutoFSelector",
task = task$clone()

# disable timeout to allow train on full data set without time limit
# timeout during tuning is not affected
# timeout during optimization is not affected
learner$timeout = c(train = Inf, predict = Inf)

# fit final model
Expand Down
4 changes: 2 additions & 2 deletions man/AutoFSelector.Rd

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

4 changes: 2 additions & 2 deletions man/auto_fselector.Rd

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

0 comments on commit 4648855

Please sign in to comment.