CRAN Package Check Results for Package mlr3tuning

Last updated on 2025-12-12 23:51:03 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 8.90 385.40 394.30 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 861.30 887.30 ERROR
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.87 535.87 550.74 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:09:22.912] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [17:09:22.914] [bbotk] Evaluating 1 configuration(s) INFO [17:09:22.923] [mlr3] Running benchmark with 3 resampling iterations INFO [17:09:22.943] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [17:09:22.984] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [17:09:23.024] [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-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 [00:51:54.943] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [00:51:55.374] [bbotk] Evaluating 1 configuration(s) INFO [00:51:55.394] [mlr3] Running benchmark with 3 resampling iterations INFO [00:51:55.449] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [00:51:55.755] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [00:51:56.001] [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-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 [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 [15:56:01.859] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [15:56:01.867] [bbotk] Evaluating 1 configuration(s) INFO [15:56:01.892] [mlr3] Running benchmark with 3 resampling iterations INFO [15:56:01.950] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [15:56:02.111] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [15:56:02.237] [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.572 0.223 10.978 mlr3tuning.one_se_rule 6.233 0.057 8.462 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 [16:45:31.314] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [16:45:31.319] [bbotk] Evaluating 1 configuration(s) INFO [16:45:31.335] [mlr3] Running benchmark with 3 resampling iterations INFO [16:45:31.382] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [16:45:31.492] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [16:45:31.582] [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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.