CRAN Package Check Results for Package mlr3tuning

Last updated on 2025-12-14 06:48:52 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.0 13.70 582.57 596.27 ERROR
r-devel-linux-x86_64-debian-gcc 1.5.0 9.77 419.19 428.96 ERROR
r-devel-linux-x86_64-fedora-clang 1.5.0 28.00 842.50 870.50 ERROR
r-devel-linux-x86_64-fedora-gcc 1.5.0 26.00 916.37 942.37 OK
r-devel-windows-x86_64 1.5.0 16.00 545.00 561.00 ERROR
r-patched-linux-x86_64 1.5.0 16.83 534.71 551.54 ERROR
r-release-linux-x86_64 1.5.0 14.09 537.91 552.00 ERROR
r-release-macos-arm64 1.5.0 OK
r-release-macos-x86_64 1.5.0 10.00 707.00 717.00 OK
r-release-windows-x86_64 1.5.0 15.00 559.00 574.00 OK
r-oldrel-macos-arm64 1.5.0 OK
r-oldrel-macos-x86_64 1.5.0 10.00 628.00 638.00 OK
r-oldrel-windows-x86_64 1.5.0 21.00 720.00 741.00 ERROR

Check Details

Version: 1.5.0
Check: examples
Result: ERROR Running examples in ‘mlr3tuning-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mlr_tuners_internal > ### Title: Hyperparameter Tuning with Internal Tuning > ### Aliases: mlr_tuners_internal TunerBatchInternal > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(c("mlr3learners", "xgboost"), quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(mlr3learners) + + # Retrieve task + task = tsk("pima") + + # Load learner and set search space + learner = lrn("classif.xgboost", + nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, + validate = "test", + eval_metric = "merror" + ) + + # Internal hyperparameter tuning on the pima indians diabetes data set + instance = tune( + tnr("internal"), + tsk("iris"), + learner, + rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror") + ) + + # best performing hyperparameter configuration + instance$result_learner_param_vals + + instance$result_learner_param_vals$internal_tuned_values + ## Don't show: + }) # examplesIf > library(mlr3learners) > task = tsk("pima") > learner = lrn("classif.xgboost", nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, validate = "test", eval_metric = "merror") > instance = tune(tnr("internal"), tsk("iris"), learner, rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror")) INFO [04:33:27.594] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [04:33:27.602] [bbotk] Evaluating 1 configuration(s) INFO [04:33:27.627] [mlr3] Running benchmark with 3 resampling iterations INFO [04:33:27.680] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [04:33:27.768] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [04:33:27.822] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning: Caught simpleError. Canceling all iterations ... Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Error in names(x) <- nm : attempt to set an attribute on NULL Calls: withAutoprint ... tryCatchList -> tryCatchOne -> <Anonymous> -> onError Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed AutoTuner 7.318 0.334 14.944 mlr3tuning.one_se_rule 6.740 0.084 8.474 Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.5.0
Check: examples
Result: ERROR Running examples in ‘mlr3tuning-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mlr_tuners_internal > ### Title: Hyperparameter Tuning with Internal Tuning > ### Aliases: mlr_tuners_internal TunerBatchInternal > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(c("mlr3learners", "xgboost"), quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(mlr3learners) + + # Retrieve task + task = tsk("pima") + + # Load learner and set search space + learner = lrn("classif.xgboost", + nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, + validate = "test", + eval_metric = "merror" + ) + + # Internal hyperparameter tuning on the pima indians diabetes data set + instance = tune( + tnr("internal"), + tsk("iris"), + learner, + rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror") + ) + + # best performing hyperparameter configuration + instance$result_learner_param_vals + + instance$result_learner_param_vals$internal_tuned_values + ## Don't show: + }) # examplesIf > library(mlr3learners) > task = tsk("pima") > learner = lrn("classif.xgboost", nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, validate = "test", eval_metric = "merror") > instance = tune(tnr("internal"), tsk("iris"), learner, rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror")) INFO [17:20:54.648] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [17:20:54.651] [bbotk] Evaluating 1 configuration(s) INFO [17:20:54.661] [mlr3] Running benchmark with 3 resampling iterations INFO [17:20:54.681] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [17:20:54.831] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [17:20:54.940] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning: Caught simpleError. Canceling all iterations ... Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Error in names(x) <- nm : attempt to set an attribute on NULL Calls: withAutoprint ... tryCatchList -> tryCatchOne -> <Anonymous> -> onError Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed AutoTuner 5.579 0.472 12.496 mlr3tuning.one_se_rule 4.942 0.099 5.932 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.5.0
Check: examples
Result: ERROR Running examples in ‘mlr3tuning-Ex.R’ failed The error most likely occurred in: > ### Name: mlr_tuners_internal > ### Title: Hyperparameter Tuning with Internal Tuning > ### Aliases: mlr_tuners_internal TunerBatchInternal > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(c("mlr3learners", "xgboost"), quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(mlr3learners) + + # Retrieve task + task = tsk("pima") + + # Load learner and set search space + learner = lrn("classif.xgboost", + nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, + validate = "test", + eval_metric = "merror" + ) + + # Internal hyperparameter tuning on the pima indians diabetes data set + instance = tune( + tnr("internal"), + tsk("iris"), + learner, + rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror") + ) + + # best performing hyperparameter configuration + instance$result_learner_param_vals + + instance$result_learner_param_vals$internal_tuned_values + ## Don't show: + }) # examplesIf > library(mlr3learners) > task = tsk("pima") > learner = lrn("classif.xgboost", nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, validate = "test", eval_metric = "merror") > instance = tune(tnr("internal"), tsk("iris"), learner, rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror")) INFO [10:00:02.883] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [10:00:02.900] [bbotk] Evaluating 1 configuration(s) INFO [10:00:02.963] [mlr3] Running benchmark with 3 resampling iterations INFO [10:00:03.065] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [10:00:03.212] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [10:00:03.316] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning: Caught simpleError. Canceling all iterations ... Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Error in names(x) <- nm : attempt to set an attribute on NULL Calls: withAutoprint ... tryCatchList -> tryCatchOne -> <Anonymous> -> onError Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.5.0
Check: examples
Result: ERROR Running examples in 'mlr3tuning-Ex.R' failed The error most likely occurred in: > ### Name: mlr_tuners_internal > ### Title: Hyperparameter Tuning with Internal Tuning > ### Aliases: mlr_tuners_internal TunerBatchInternal > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(c("mlr3learners", "xgboost"), quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(mlr3learners) + + # Retrieve task + task = tsk("pima") + + # Load learner and set search space + learner = lrn("classif.xgboost", + nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, + validate = "test", + eval_metric = "merror" + ) + + # Internal hyperparameter tuning on the pima indians diabetes data set + instance = tune( + tnr("internal"), + tsk("iris"), + learner, + rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror") + ) + + # best performing hyperparameter configuration + instance$result_learner_param_vals + + instance$result_learner_param_vals$internal_tuned_values + ## Don't show: + }) # examplesIf > library(mlr3learners) > task = tsk("pima") > learner = lrn("classif.xgboost", nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, validate = "test", eval_metric = "merror") > instance = tune(tnr("internal"), tsk("iris"), learner, rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror")) INFO [17:38:40.135] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [17:38:40.138] [bbotk] Evaluating 1 configuration(s) INFO [17:38:40.152] [mlr3] Running benchmark with 3 resampling iterations INFO [17:38:40.187] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [17:38:40.260] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [17:38:40.313] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning: Caught simpleError. Canceling all iterations ... Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Error in names(x) <- nm : attempt to set an attribute on NULL Calls: withAutoprint ... tryCatchList -> tryCatchOne -> <Anonymous> -> onError Execution halted Flavor: r-devel-windows-x86_64

Version: 1.5.0
Check: examples
Result: ERROR Running examples in ‘mlr3tuning-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mlr_tuners_internal > ### Title: Hyperparameter Tuning with Internal Tuning > ### Aliases: mlr_tuners_internal TunerBatchInternal > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(c("mlr3learners", "xgboost"), quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(mlr3learners) + + # Retrieve task + task = tsk("pima") + + # Load learner and set search space + learner = lrn("classif.xgboost", + nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, + validate = "test", + eval_metric = "merror" + ) + + # Internal hyperparameter tuning on the pima indians diabetes data set + instance = tune( + tnr("internal"), + tsk("iris"), + learner, + rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror") + ) + + # best performing hyperparameter configuration + instance$result_learner_param_vals + + instance$result_learner_param_vals$internal_tuned_values + ## Don't show: + }) # examplesIf > library(mlr3learners) > task = tsk("pima") > learner = lrn("classif.xgboost", nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, validate = "test", eval_metric = "merror") > instance = tune(tnr("internal"), tsk("iris"), learner, rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror")) INFO [16:07:53.101] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [16:07:53.104] [bbotk] Evaluating 1 configuration(s) INFO [16:07:53.117] [mlr3] Running benchmark with 3 resampling iterations INFO [16:07:53.145] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [16:07:53.257] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [16:07:53.358] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning: Caught simpleError. Canceling all iterations ... Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Error in names(x) <- nm : attempt to set an attribute on NULL Calls: withAutoprint ... tryCatchList -> tryCatchOne -> <Anonymous> -> onError Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed AutoTuner 6.826 0.247 11.035 mlr3tuning.one_se_rule 6.517 0.049 11.197 Flavor: r-patched-linux-x86_64

Version: 1.5.0
Check: examples
Result: ERROR Running examples in ‘mlr3tuning-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mlr_tuners_internal > ### Title: Hyperparameter Tuning with Internal Tuning > ### Aliases: mlr_tuners_internal TunerBatchInternal > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(c("mlr3learners", "xgboost"), quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(mlr3learners) + + # Retrieve task + task = tsk("pima") + + # Load learner and set search space + learner = lrn("classif.xgboost", + nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, + validate = "test", + eval_metric = "merror" + ) + + # Internal hyperparameter tuning on the pima indians diabetes data set + instance = tune( + tnr("internal"), + tsk("iris"), + learner, + rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror") + ) + + # best performing hyperparameter configuration + instance$result_learner_param_vals + + instance$result_learner_param_vals$internal_tuned_values + ## Don't show: + }) # examplesIf > library(mlr3learners) > task = tsk("pima") > learner = lrn("classif.xgboost", nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, validate = "test", eval_metric = "merror") > instance = tune(tnr("internal"), tsk("iris"), learner, rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror")) INFO [16:06:08.310] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [16:06:08.317] [bbotk] Evaluating 1 configuration(s) INFO [16:06:08.343] [mlr3] Running benchmark with 3 resampling iterations INFO [16:06:08.388] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [16:06:08.491] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [16:06:08.580] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning: Caught simpleError. Canceling all iterations ... Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Error in names(x) <- nm : attempt to set an attribute on NULL Calls: withAutoprint ... tryCatchList -> tryCatchOne -> <Anonymous> -> onError Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed AutoTuner 6.623 0.329 7.717 mlr3tuning.one_se_rule 6.293 0.096 6.887 Flavor: r-release-linux-x86_64

Version: 1.5.0
Check: examples
Result: ERROR Running examples in 'mlr3tuning-Ex.R' failed The error most likely occurred in: > ### Name: mlr_tuners_internal > ### Title: Hyperparameter Tuning with Internal Tuning > ### Aliases: mlr_tuners_internal TunerBatchInternal > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(c("mlr3learners", "xgboost"), quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(mlr3learners) + + # Retrieve task + task = tsk("pima") + + # Load learner and set search space + learner = lrn("classif.xgboost", + nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, + validate = "test", + eval_metric = "merror" + ) + + # Internal hyperparameter tuning on the pima indians diabetes data set + instance = tune( + tnr("internal"), + tsk("iris"), + learner, + rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror") + ) + + # best performing hyperparameter configuration + instance$result_learner_param_vals + + instance$result_learner_param_vals$internal_tuned_values + ## Don't show: + }) # examplesIf > library(mlr3learners) > task = tsk("pima") > learner = lrn("classif.xgboost", nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, validate = "test", eval_metric = "merror") > instance = tune(tnr("internal"), tsk("iris"), learner, rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror")) INFO [19:17:11.024] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [19:17:11.030] [bbotk] Evaluating 1 configuration(s) INFO [19:17:11.050] [mlr3] Running benchmark with 3 resampling iterations INFO [19:17:11.097] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [19:17:11.218] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [19:17:11.302] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning: Caught simpleError. Canceling all iterations ... Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Error in names(x) <- nm : attempt to set an attribute on NULL Calls: withAutoprint ... tryCatchList -> tryCatchOne -> <Anonymous> -> onError Execution halted Flavor: r-oldrel-windows-x86_64