From 4648855d7936dc3859e42f3ec619b23e6f875018 Mon Sep 17 00:00:00 2001 From: be-marc Date: Tue, 15 Nov 2022 18:12:52 +0100 Subject: [PATCH] docs: fix autofselector example --- R/AutoFSelector.R | 6 +++--- man/AutoFSelector.Rd | 4 ++-- man/auto_fselector.Rd | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/R/AutoFSelector.R b/R/AutoFSelector.R index 33393f99..6b7df01c 100644 --- a/R/AutoFSelector.R +++ b/R/AutoFSelector.R @@ -65,7 +65,7 @@ #' afs$learner #' #' # shortcut fselect instance -#' afs$tuning_instance +#' afs$fselect_instance #' #' #' # Nested Resampling @@ -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 @@ -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 diff --git a/man/AutoFSelector.Rd b/man/AutoFSelector.Rd index 00c864ff..b078a3ee 100644 --- a/man/AutoFSelector.Rd +++ b/man/AutoFSelector.Rd @@ -64,7 +64,7 @@ afs$model afs$learner # shortcut fselect instance -afs$tuning_instance +afs$fselect_instance # Nested Resampling @@ -79,7 +79,7 @@ afs = auto_fselector( 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 diff --git a/man/auto_fselector.Rd b/man/auto_fselector.Rd index 2ae41534..b69ef320 100644 --- a/man/auto_fselector.Rd +++ b/man/auto_fselector.Rd @@ -124,7 +124,7 @@ afs$model afs$learner # shortcut fselect instance -afs$tuning_instance +afs$fselect_instance # Nested Resampling @@ -139,7 +139,7 @@ afs = auto_fselector( 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