diff --git a/R/trainingFunctions.R b/R/trainingFunctions.R index 023fa3b..20307e8 100644 --- a/R/trainingFunctions.R +++ b/R/trainingFunctions.R @@ -269,10 +269,6 @@ fusemlr = function (training, if (!training$getVarSelDone() & use_var_sel) { training$varSelection(ind_subset = ind_subset, verbose = training$getVerbose()) - } else { - if (training$getVarSelDone() & use_var_sel) { - warning("Variable selection has been already performed.") - } } training$train(ind_subset = ind_subset, use_var_sel = use_var_sel, diff --git a/README.md b/README.md index 8caaa0d..f0005a9 100644 --- a/README.md +++ b/README.md @@ -327,9 +327,6 @@ training <- fusemlr(training = training, k = 10L)) ``` - ## Warning in fusemlr(training = training, use_var_sel = TRUE, resampling_method = - ## NULL, : Variable selection has been already performed. - ## Creating fold predictions. ## | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100% @@ -633,9 +630,6 @@ training <- fusemlr(training = training, use_var_sel = TRUE) ``` - ## Warning in fusemlr(training = training, use_var_sel = TRUE): Variable selection - ## has been already performed. - ## Creating fold predictions. ## | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%