mlr3 (development version)
- BREAKING CHANGE:
as_task_classif()andas_task_regr()now raise an error if the target column contains missing values instead of showing a message (#1442). - fix: Mutating a shallow clone of a task via
$rename(),$set_levels(),$droplevels(),$cbind(),$labels, or$positiveno longer modifies the column information of the original task. - fix: Errors caused by prior misconfiguration (e.g., predicting with an untrained learner, uninstantiated resamplings, missing stored models or backends, and unsupported predict types) now signal
Mlr3ErrorConfiginstead ofMlr3ErrorInput, so they are no longer masked by fallback learners under encapsulation (#1500). - fix:
Resampling$instantiate()on a task without groups now drops the groups of a task the resampling was instantiated on before. Previously,$train_set()and$test_set()translated the row ids with the groups of the earlier task and returned wrong row ids. - fix:
lrn("classif.debug")andlrn("regr.debug")withpredict_missing_type = "omit"now omit the share of predictions given bypredict_missing. Previously, this share was returned and the rest was omitted. - fix:
BenchmarkResult$combine()andc()no longer fail if the benchmark result to add is empty. - BREAKING CHANGE:
ContextResample$learnercan no longer be replaced by another learner in a callback. Previously, a learner assigned in the stageon_resample_beginwas trained and its model and predictions were stored under the original learner, and a learner assigned in a later stage was silently ignored. Callbacks can still modify the learner in place, e.g. write tocontext$learner$state. - fix:
benchmark()with callbacks that write to$data_extranow stores the extra data with the experiment that produced it, instead of assigning it to another task, learner, or resampling. - fix:
BenchmarkResult$filter(),$resample_result(), and$set_threshold()now raise an error ificontains missing values. Previously,$filter(i = NA)silently removed all resample results. - fix:
lrn("regr.debug")withpredict_missingand predict type"se"now returns missing values for the same observations in the response and the standard error. - fix:
print()for the result ofscore_roc_measures()now shows the confusion matrix with the truth in rows and the prediction in columns, as labeled. Previously, the counts of false positives and false negatives were shown in each other’s place.score_roc_measures()now returns unnamed scores, ignores observation weights so that the measures match the returned confusion matrix, and raises an error for predictions that are not binary classification predictions. - fix:
LearnerRegr’s$hashand$phashnow include$quantilesand$quantile_response, so learners predicting different quantiles are no longer treated as identical, e.g., when combining resample results (#1518). Subclasses ofLearnercan now add fields to the hash via the private field$.extra_hash. - fix:
lrn("classif.debug")now continues from the stored model when hotstarting and only updatesiter. Previously, the model was rebuilt without the fields written bycheck_pid,count_marshaling, andsave_tasks, and the response was drawn again without the weights. - fix:
BenchmarkResult$aggregate()withconditions = TRUEnow returns the number of resampling iterations with at least one warning or error, as documented, instead of the total number of warnings or errors. - fix:
as_prediction_classif()andas_prediction_regr()now store all columns that are not reserved prediction columns as extra data, so predictions with extra data survive the round trip throughas.data.table().as_prediction_regr()now also reconstructs quantile predictions from columns namedq<prob>and raises an error for tables with adistrcolumn.PredictionClassifandPredictionRegrnow reject extra data whose names collide with reserved prediction columns (#1517). - fix:
lrn("regr.featureless")now declaresFALSEas the default ofrobust, as documented. Previously, the declared default wasTRUE, and a learner withrobustunset predicted the median. - fix:
ResampleResult$filter()now keeps the iterations sorted, so that combining a filtered result withc()no longer errors and$predictions()and$learnersstay ordered by iteration. Tasks, learners, resamplings, and extra data that are no longer referenced are now removed from the filtered result. - fix:
lrn("classif.rpart")andlrn("regr.rpart")now raise an informative error if the task has no features. - fix:
lrn("classif.debug")now checks thatsleep_trainandsleep_predictare functions, and computes the internal validation scores ifpredict_missingis set.lrn("classif.debug")andlrn("regr.debug")no longer fail ifpredict_missing_typeis set withoutpredict_missing. - fix:
rsmp("cv")andrsmp("repeated_cv")on a stratified task now create folds whose sizes differ by at most one observation. Previously, each stratum assigned its remainder to the first folds, so that e.g. 10 strata with 11 observations each and 10 folds resulted in one fold with 20 and nine folds with 10 observations. Stratified instances created with the same seed differ from those of earlier versions. - fix:
lrn("regr.featureless")andlrn("regr.debug")now raise an error if$quantilesor$quantile_responseare changed after training, or if the predict type is set to"quantiles"after training. Previously,lrn("regr.featureless")returned the quantiles of the trained model labeled with the new probabilities. - fix:
BenchmarkResult$obs_loss()now works for benchmark results with learners of different predict types, instead of failing with an error about inconsistent columns. - fix:
Measure$aggregate()withaverage = "macro_weighted"now takes the weights and the number of samples from the predict sets of the measure instead of always using the test set. Previously, measures on other predict sets were aggregated toNaNor weighted by the size of the test sets. Anaggregatorthat does not accept the scores and the weights as first and second argument, e.g.max, now raises an error instead of silently aggregating the weights together with the scores. - fix:
PredictionClassifnow raises an error if the predicted response contains labels that are not class labels of the task, instead of silently converting them to missing values. - fix:
as.data.table()for aBenchmarkResultnow respects the documented argumentsreassemble_learnersandconvert_predictions, which were silently ignored. The argumenthashes, which had no effect, now adds the columnstask_hash,learner_hash, andresampling_hash. - fix:
rsmp("cv")andrsmp("repeated_cv")now raise an error on instantiation if the task has fewer observations or groups than folds. Previously,$test_set()ofrsmp("cv")returnedNAfor the empty folds andresample()failed with a misleading error about a different task. On stratified tasks, where single folds may stay empty,$test_set()now returns an empty set. - fix:
Learner$predict()on aTaskUnsupervisednow returns the predicted classes of a classification learner instead of only missing values, and no longer errors with predict type"prob". - fix:
as.data.table()for aResampleResultnow respects the documented argumentsreassemble_learnersandconvert_predictions, which were silently ignored. - fix:
Learner$phashnow includes$predict_sets, so the partial hashes of all learners change. Previously, combining benchmark results of learners that differed only in their predict sets kept only the first learner, soBenchmarkResult$score()returned a learner with the wrong predict sets and omitted the prediction columns of the other predict sets. - fix:
rsmp("subsampling")now returns all observations as test set if the training set is empty, e.g. forratio = 0or ifratiotimes the number of observations rounds to zero. Previously, the test set was empty, too. - fix:
PredictionRegr$filter()andc()withkeep_duplicates = FALSEnow also subset the distributions of predictions with predict type"distr", which previously kept the distributions of all rows (#1400). - fix:
as_result_data()now raises an error if the predictions of an iteration are not named with the predict sets, e.g.list(test = prediction), instead of creating a result whose scores are allNaN. The argumentiterationsnow also accepts integer-valued doubles. - fix:
c()now aligns the probability columns ofPredictionClassifobjects by class label, so combining predictions with a different order of the class levels, e.g., from tasks with a different positive class, no longer swaps the probabilities. Combining classification predictions with different class labels or regression predictions with different quantiles now raises an error. - fix:
ResampleResult$warnings,$errors, and$obs_loss()now report the resampling iteration instead of the position of the iteration in the result, which differed after$filter().$obs_loss()now raises an informative error if no predictions are stored for the requested predict sets. - fix:
rsmp("bootstrap")no longer fails with “incorrect number of dimensions” on tasks with a single observation or a single group. - fix:
PredictionClassifnow raises an error for probability matrices without column names or with duplicated column names, instead of silently replacing all probabilities with zero and drawing a random response. - fix:
ResampleResult$discard(),$marshal(), and$unmarshal()on a resample result extracted withBenchmarkResult$resample_result()now only change the models of this resample result instead of the models of the complete benchmark result. These methods and theirBenchmarkResultcounterparts now return the object itself invisibly, as documented, instead of the internalResultData. - fix:
Resampling$hashnow includes the groups of the task the resampling was instantiated on. Previously, resamplings instantiated on two tasks with the same group ids but a different assignment of observations to groups could have the same hash although their training and test sets differed. The hashes of all instantiated resamplings change. - fix:
msr("classif.fbeta")now accepts non-integer values forbeta, e.g.beta = 0.5. - fix: Predicting zero rows with a
LearnerRegrwith predict type"quantiles"now returns a prediction with an empty quantiles matrix, so it can be combined with other quantile predictions, e.g., inresample()with an empty test set. - fix:
ResampleResult$new()andas_resample_result()now raise an error if theResultDatacontains more than one resample result and noviewis given, or ifviewis not auhashof theResultData. Previously, the results of all resample results were silently pooled. - fix:
PredictionClassif$set_threshold()with a vector of thresholds now keeps the response of observations with missing probabilities missing, instead of assigning a random class label. - fix:
msr("best_valid_score")withselectnow uses the id"best_<select>", e.g."best_acc", instead of"<select>", so that it can be scored together withmsr("internal_valid_score")for the same score, which previously failed because both measures had the same id. Both measures gain the read-only field$select, which is now part of the hash. - fix: The similarity measures
msr("sim.jaccard")andmsr("sim.phi")now pass$na_valueto the similarity function, and a cloned measure no longer calls the function of the measure it was cloned from. The hyperparameterpofmsr("sim.phi"), which was silently ignored, now overrides the number of features of the task. - fix:
ResampleResult$set_threshold()andBenchmarkResult$set_threshold()no longer corrupt the stored predictions of resample results with more than one iteration, which made all scoresNaN. Both methods now return the object itself invisibly. - fix:
rsmp("custom")now requirestest_sets, requires at least one iteration, and stores the row ids as integers. Previously,test_sets = NULLwas accepted and$test_set()returnedNULL.rsmp("custom_cv")now accepts a character vector forf, as documented. - fix:
PredictionRegrnow checks thattruthis numeric and has one element per observation. A missingtruthis now replaced by one missing value per observation instead of a single missing value. - fix:
msr("internal_valid_score")andmsr("best_valid_score")now returnNA, as documented, if the learner reports no validation scores or reports them as a named vector that does not contain the selected score, instead of failing with “subscript out of bounds”. A validation score that is not a single number now raises an informative error. - fix:
PredictionRegrnow checks that the quantiles matrix is numeric, that itsprobsattribute matches the number of columns and is unique, and that the quantile response is one of the predicted quantiles. - fix:
msr("regr.pinball")andmsr("regr.rqr")now matchalphato the predicted quantiles with a numerical tolerance, so that quantiles created withseq(), e.g.seq(0.1, 0.9, by = 0.1), can be scored. Both measures now raise an informative error that lists the predicted quantiles ifalphais not among them. - fix:
as_measure()andas_measures()withclone = TRUEnow return a deep clone, so that the parameter set is no longer shared with the original measure.as_measure(NULL)without a task type anddefault_measures()for a task type without a default measure now raise an informative error. - fix:
as_resampling()andas_resamplings()withclone = TRUEnow return a deep clone, so that changing the parameter values of the clone no longer changes the original resampling. - fix:
Learner$encapsulate(): awhenhandler now also decides for errors of classMlr3ErrorConfig, which previously always errored even when a handler was registered (#1500). - fix:
HotstartStack$start_cost()and training a learner with a$hotstart_stackno longer fail with “argument is of length zero” if the hotstart parameter of the learner or of a learner in the stack is not set. Such learners are not used for hotstarting. - fix:
resample()andbenchmark()withstore_models = FALSEnow also discard the model, the training task copy, and the data prototype of the fallback learner, which were kept for every iteration (#1510). - fix:
ResampleResult$prediction()now checks the argumentpredict_setsand returns an empty list for an emptyResampleResult, as documented.ResampleResult$itersis now read-only. - fix:
msr("time_train"),msr("time_predict"), andmsr("time_both")now returnNAinstead of0if the learner was not trained or did not predict yet. The field$stagesofMeasureElapsedTimeis now checked on assignment. - fix:
HotstartStack$start_cost()no longer leaves acostcolumn in$stackif it fails, which made the next$add()fail with an error about inconsistent columns. - fix:
Task$rbind()now invalidates$row_hashand$col_hashes, soresample()andbenchmark()detect resamplings instantiated before the rows were added.$materialize_view(),$labels,$col_info,$backend,$extra_args, andTaskClassif$positivenow invalidate the cached task hash, and$extra_argsis now part of the task hash. - fix:
HotstartStackwith ahotstart_thresholdno longer fails when adding learners without a hotstart parameter of that name or learners whose hotstart parameter is not set. The former are always added, the latter are not added. Missing values inhotstart_thresholdnow raise an error on construction. - fix:
partition()now raises an informative error ifratiocontains missing or negative values. - fix:
rsmp("repeated_cv")now raises an informative error on instantiation if the parameterrepeatsis not set. - fix:
Measure$aggregate()withaverage = "custom"now raises an informative error if the measure has noaggregator, instead of failing with “attempt to apply non-function”. - fix:
resample()andbenchmark()withallow_hotstart = TRUEno longer carry over the prediction time, validation scores, fallback state, and task copies of the start learner into the hotstarted learner, which inflatedmsr("time_predict")(#1504). - fix:
Task$set_row_roles()now stores row ids as integers, so the same set of rows no longer results in different task hashes depending on the type of the passed row ids. Assigning to$row_rolesnow raises an error for row ids that do not exist in the backend. - fix:
as_task_classif(),as_task_regr(),as_task_unsupervised(), andas_tasks_unsupervised()withclone = TRUEnow return a deep clone likeas_task(), so that the internal validation task is no longer shared with the original task. - fix:
clbk("mlr3.holdout_task")no longer adds the time of the holdout prediction to the predict time of the resampling iteration, which inflatedmsr("time_predict"). - fix: Callbacks now receive the model in unmarshaled form in the
on_resample_endstage ofresample()andbenchmark(), regardless ofunmarshal,store_models, and the execution mode (#1509). - fix:
clbk("mlr3.holdout_task")now raises an informative error before training if notaskis set, andclbk("mlr3.model_extractor")now raises an informative error iffundoes not return a named list, as documented. - fix:
Measure$obs_loss()now returns missing values with a warning if the prediction does not contain the predict type required by the measure, like$score(), instead of failing inside the loss function. The argumentpredictionis now checked. - fix:
learner_predict()now invalidates the cached task hash when subsetting to the predict rows, sotask$hashis correct inside.predict()andresample()no longer stores a wrong task hash when a learner reads the hash during prediction (#1503). - fix:
benchmark()now accepts a plaindata.frameasdesign, as documented, instead of failing with “replacement has 0 rows” (#1505). - fix:
msr("oob_error")now returnsNAif the training failed and the fallback learner was used, instead of failing with the error of the learner about the missing model. - fix:
Task$cbind()now raises an error ifdatadoes not contain all rows of the task, instead of silently filling the new columns with missing values. Columns that already have a role other than"feature"keep their roles instead of additionally becoming features.$cbind()and$rbind()now check the column roles when they modify columns with a role, e.g., rejecting negative weights, and leave the task unchanged if the check fails. - fix:
msr("aic")andmsr("bic")no longer hide errors raised while computing the log-likelihood behind the warning that the learner does not support the calculation. The warning and theNAscore are now only returned if the model has nologLik()method. - fix:
Measure$score()now acceptsprediction = NULLonly for measures with the property"requires_no_prediction". Previously, the check was inverted: measures that need a prediction returnedNaNforNULL, and measures that need no prediction rejected it. - fix: The option
mlr3.exec_randomnow actually randomizes the execution order ofresample()andbenchmark()iterations when parallelizing withfuture. The random ordering was silently ignored because it was attached tofuture.schedulingwhilefuture.chunk.sizewas always set (#1508). - fix:
Task$set_levels()now raises an error for columns that are not factors and for duplicated or missing levels, instead of silently converting the column to a factor in$data().Task$set_col_roles()now rejects the primary key, like$col_roles.Task$task_typecan only be set to a task type whose task class the task inherits from. Invalid offset column names of multiclass tasks now raise anMlr3ErrorInputinstead of a testthat expectation failure. - perf:
Learner$predict()now callsas_prediction()withcheck = FALSE, so prediction data is no longer checked twice for task types whoseas_prediction()method defaults tocheck = TRUE. - fix:
resample()andbenchmark()withencapsulatenow keep a fallback learner that is already configured instead of replacing it with the default fallback.encapsulate = "none"no longer fails with “Could not find default fallback learner” (#1521). - fix:
resample()andbenchmark()now acceptencapsulate = "mirai"(#1506). - fix:
resample()andbenchmark()now re-raise errors from the workers when parallelizing withmiraiinstead of failing with “subscript out of bounds” (#1502). - fix:
PredictionRegr$new()now returns the correct response for quantile predictions when theresponseattribute ofquantilesis given as a probability (#1517). - fix: Assigning row ids to
Task$internal_valid_tasknow raises an error for row ids that are not in$row_idsand no longer removes duplicated training rows. Assigning an object that is not a task now raises an informative error, and$internal_valid_taskis returned visibly. - fix:
LearnerClassif$predict_newdata_fast()now passes the positive and negative class to the learner, so binary learners such asclassif.log_regno longer return unnamed and possibly swapped probability columns (#1520). It also passes the task type properties, soclassif.gbmandclassif.fnnno longer fail andclassif.lightgbmno longer returns a wrongly shaped probability matrix for multiclass tasks. - fix:
predict.Learner()no longer modifies the hyperparameters of the passed learner when additional parameters are supplied via...(#1501). - fix:
PredictionRegr$filter()andc()withkeep_duplicates = FALSEnow keep theprobsandresponseattributes of the quantile matrix, so quantile measures such asmsr("regr.pinball")no longer fail on filtered predictions. - fix:
PredictionRegr$new()now takes the quantile response from the checked prediction data, so a numericresponseattribute onquantilesno longer results in an empty$responseand failing scores. - fix:
PredictionRegr$new()andas_prediction()withcheck = TRUEno longer fail with “invalid format ‘%g’” on quantile prediction data that has already been checked, e.g., the$dataof an existing prediction. - fix:
Learner$hashandLearner$phashnow include the timeout, the deadline, the encapsulation method, and thewhenhandler, so all learner hashes change. Previously,benchmark()merged learners that differed only in these settings and ran them with the settings of the first one (#1511). - fix:
Learner$predict_newdata()no longer fails with an assertion error when the training task has an offset column that is missing innewdata. The offset is now dropped for learners without the"offset"property, which ignore it during training anyway, and an informative error is raised for learners with the property. - fix:
Learner$clone(deep = TRUE)now also deep clones the stored state of the fallback learner, so the fallback’s training task and log are no longer shared between clones. - fix:
Learner$predict()andLearner$predict_newdata_fast()no longer change the predict type of the stored fallback learner when the fallback is used, so$hashstays constant after predicting andHotstartStackandBenchmarkResultkeep finding the learner by its hash. - fix:
LearnerClassif$predict_newdata_fast()now imputes missing responses by class label, so a fallback learner returning a factor no longer inserts integer codes into a character response. - fix:
Learner$new()now checks thatparam_setis aParamSetinstead of failing later with “attempt to apply non-function”. - fix:
Learner$print()now shows the messages of logged warnings and errors instead of the deparsed condition objects. - fix:
LearnerRegr$quantilesnow resets$quantile_responsewhen the new quantiles do not contain it, so predicting no longer fails with “subscript out of bounds” when accessing$response, and rejects duplicated quantiles. - fix:
Learner$predict()withparallel_predict = TRUEnow keeps the log entries and the predict time recorded by the workers, so$warnings,$errors, and$timingsare no longer empty after a parallel prediction, and returns an empty prediction instead ofNULLfor zero row ids. - fix:
Learner$encapsulate()now validates all arguments before changing the learner, so a failed call no longer changes$hash, raises an error if the fallback learner does not support the$predict_typeof the learner instead of failing later during prediction, and rejects awhenhandler together withmethod = "none". - feat:
Task$data()gains the argumentall_colsto return all columns of the backend, including the primary key and columns without a column role (#1470). - fix:
$missings()and$distinct()of tasks extended with$rbind()or$cbind()now count the missing values that fill columns or rows which are only present in one of the combined backends. Previously,task$missings()reported no missing values for these columns, so learners without the"missings"property were trained on missing values.expect_backend()now checks that$missings()agrees with$data(). - fix:
auto_convert()no longer converts character or factor values that cannot be parsed to missing values when converting toDateorPOSIXct. Previously, only a first value that could not be parsed raised an error, soTask$rbind()silently storedNAfor all later values with a different format. - fix:
auto_convert()now converts ordered factors to the levels of the target ordered factor and raises an error if the values contain levels that the target does not have. Previously, the levels were ignored, soTask$rbind()with an ordered factor with different levels madetask$data()emit a warning and return an unordered factor. - fix:
auto_convert()now convertsPOSIXctvalues to theDatein the time zone of the value instead of the date in UTC. Previously, e.g.2020-01-01 00:30:00in the time zoneEurope/Berlinwas converted to2019-12-31. - fix:
auto_convert()now returns aPOSIXctvector stored as double when converting logical or integer missing values toPOSIXct, instead of aPOSIXctvector with logical or integer storage. - fix:
as_data_backend()now raises an error if it has to add the primary key column..row_idand the data already has a column with this name. Previously, the column was silently overwritten with the generated row ids. - fix:
DataBackendDataTable$new()now raises an error if the primary key column contains duplicated, missing, or non-integer row ids. Previously, such a backend was created and$data()returned more rows than requested or failed later.
mlr3 1.8.0
CRAN release: 2026-08-21
- feat: Added
msr("best_valid_score")(mlr_measures_best_valid_score), which reports the best internal validation score observed during training/ - feat: Added the
diabetestask (mlr_tasks_diabetes) for the syntheticmlbench::SynthDiabetes2data set, which has the same structure as the formerpimatask including missing values, for use in examples and tests. - BREAKING CHANGE: Removed the
pimatask (mlr_tasks_pima) because thePimaIndiansDiabetes2data set was removed from themlbenchpackage, usetsk("diabetes")instead. - perf:
TaskClassif$print()now caches the class distribution of the target column and only recomputes it when the task hash changes. Querying the target column can be slow for tasks with many rows.
mlr3 1.7.1
CRAN release: 2026-06-11
- fix:
Learner$new()and the$deadlinesetter now passorigintoas.POSIXct(), fixing learner construction and numeric deadline assignment on R versions below 4.3. - fix: The
Learner$deadlinesetter now merges partial assignments instead of overwriting the whole field and validates the input as a namedPOSIXct, so setting onlytrainorpredictno longer drops the other entry or crashes at predict time. - fix:
Learner$predict_newdata_fast()now restores the fallback learner’s state and predict type from the main learner before delegating, so it works afterresample()andbenchmark()where the fallback object itself carries no trained state or a mismatched predict type. It also aligns the fallback’s probability columns by class name so imputed predictions are no longer silently misassigned. - fix:
Learner$predict_newdata_fast()now raises a clear error when the learner has not been trained yet instead of failing with a cryptic error from the underlying predict method.
mlr3 1.7.0
CRAN release: 2026-06-10
- BREAKING CHANGE: Removed the deprecated
Task$divide()method, use the$internal_valid_taskfield instead. - feat: Encapsulated Learners now support a
deadline(date-time) in addition to the existingtimeout(seconds). - perf: Vectorized the row-wise
NAcheck in the prediction fallback path. - refactor: Removed unused
task_prototypefrom the learner state. - fix:
as_measures()now forwardstask_typewhen converting a list. - fix:
as_task_classif()andas_task_regr()now respect thedrop_original_targetanddrop_levelsarguments when converting a task instead of ignoring them. - fix:
as_tasks_unsupervised()now correctly converts lists toTaskUnsuperviseds. - fix:
c()on regressionPredictions no longer drops theprobsattribute of the combinedquantilesmatrix. - fix:
importance()andselected_features()now raise a learner error instead of an input error when the model is not trained yet. - fix:
Measure$obs_loss()now forwards thelearnerargument to the private.obs_loss()method instead of dropping it. - fix:
Measure$score()no longer errors during thetask_typecheck whenpredictionisNULL. - fix: Reset range of
MeasureClassifCost. - fix:
MeasureClassifSimpleandMeasureRegrSimplenow forward their hyperparameter values to the underlying scoring function instead of ignoring them. - fix:
mlr_measures_regr.aicnow accepts non-integer values forkby changing the parameter from an integer to a double. - fix:
MeasureRegrPinballnow declares the"weights"property and forwards sample weights to the underlying scoring function. - fix:
MeasureSimilarity$new()no longer accepts the silently ignoredaverageargument. - fix:
ResamplingCustomandResamplingCustomCVnow invalidate the cached$hashon re-instantiation. - fix:
Task$hashis now read-only. - fix:
TaskClassif$droplevels()now forwards thecolsargument to the parent method instead of dropping levels on all columns. - fix: The predict path now raises a learner-predict error instead of a learner-train error.
- fix: Validation of the weights columns now uses the backend row names instead of a row sequence, fixing checks on tasks with non-contiguous row ids.
mlr3 1.6.0
CRAN release: 2026-04-02
- feat:
Learnergains apredict_rawflag andPredictiongains arawfield to store the raw prediction object from the upstream model alongside standardized predictions. - fix: IDs containing
%(e.g., fromdeparse1(substitute(x))with pipe expressions) now produce a clear error instead of causing crypticsprintffailures downstream (#1461). - fix:
Learner$predict_newdata()now preserves the target’s factor level ordering from training, fixing inverted probabilities for binary classification when the positive class was not the first alphabetical level (#1459).
mlr3 1.4.0
CRAN release: 2026-02-19
- feat: Add
$native_modelactive binding toLearnerto access the model from the upstream package. - feat: Learner store the condition of warnings and errors in the
logfield. - feat: No supervised tasks with missing target values are allowed anymore.
- refactor: Validate the input of fields.
- fix: Assert list input in
assert_learners,assert_tasks,assert_measuresandassert_resamplings. - fix:
convert_taskconverts the internal validation task now. - fix: disable printing of class ratios for large tasks.
- fix: Make quantiles resettable.
mlr3 1.3.0
CRAN release: 2025-12-03
- feat:
Learner$predict()can now add additional data toPredictionClassifandPredictionRegrobjects via theextrafield. - feat:
Mlr3ErrorandMlr3Warningclasses for errors and warnings. - refactor:
$obs_lossmethods inMeasure,Prediction,ResampleResult, andBenchmarkResult. - perf: Use more
lengths()anddata.table::setattr()in tests. - perf: Use
attr()instead ofattributes()for extracting single attributes. - test: Use more specialized test functions.
- fix:
weights_measurenow work withstratum. - fix: Encapsulation loads loaded packages on the workers.
- fix: Learners can handle new factor levels.
- refactor: Use more implicit returns.
- feat: Learner can pass extra data to predictions.
mlr3 1.2.0
CRAN release: 2025-09-13
- feat: Add
miraisupport for parallelization and encapsulation. - feat: Fallback can now be configured to only be used in case of certain errors via the
whenargument. - feat: Custom error and warning classes.
- fix:
$selected_featuresreturns error when model is not trained yet. - docs: Missing values during scoring.
- BREAKING CHANGE: Removed
data_formatargument of$data()method ofDataBackend. - BREAKING CHANGE: Remove
data_formatsfield fromLearner. - BREAKING CHANGE: Remove
DataBackendMatrixclass. - feat: Add
materialize_view()method toTaskto replace the internalDataBackendwith a new one after operations like$select()and$filter(). - docs: Information about quantile prediction.
- perf: Use
fgetinassert_predictable. - feat: Store oob error in state without requiring storing the model.
- fix:
$levels()ofTaskreturns in the correct order. - chore: Only print up to 10 classes in the
Taskprinter. - fix: Check if
quantilesandquantile_responseare set.
mlr3 1.1.0
CRAN release: 2025-07-30
- feat: Add new measure
MeasureRegrRQRfor quantile regression. - feat: Add
$predict_newdata_fast()method toLearnerto speed up prediction. - fix:
configure_learneris passed onrun_experiment()for autotest learners.
mlr3 1.0.1
CRAN release: 2025-07-03
- fix: The printer of
Learnerfailed when thevalidatefield was set. - fix: Avoid printing empty line for feature less tasks.
- perf: Use
data.table::setattr()for less copying.
mlr3 1.0.0
CRAN release: 2025-06-18
BREAKING CHANGE: The mlr3 ecosystem has a base logger now which is named
mlr3. Themlr3/corelogger is a child of themlr3logger and is used for logging messages from themlr3package. Some extension packages have their own loggers which are children of the mlr3 logger e.g. mlr3/mlr3pipelines and mlr3/bbotk for tuning.-
BREAKING CHANGE:
weightsproperty and functionality is split intoweights_learnerandweights_measure:-
weights_learner: Weights used during training by the Learner. -
weights_measure: Weights used during scoring predictions via measures.
Each of these can be disabled via the new field
use_weightsinLearnerandMeasureobjects. -
feat: Add
$confusion_weightedfield toPredictionClassif.feat: Add
$weightsfield toPrediction. It contains theweights_measureweights from theTaskthat was used for prediction.feat: Add
"macro_weighted"option toMeasure$averagefield.feat:
MeasureRegrRSQandMeasureClassifCostgain"weights"property.feat:
LearnerClassifFeatureless,LearnerRegrFeatureless,LearnerClassifDebug,LearnerRegrDebuggain"weights"property.feat:
Learnerprinter now prints information about encapsulation and weights use.feat: Add
score_roc_measures()to score a prediction on various roc measures.feat: A better error message is thrown, which often happens when incorrectly configuring the
validatefield of aGraphLearnerfeat: Added method
$set_threshold()toBenchmarkResultandResamplingResult, which allows to set the threshold for the response prediction of classification learners, given they have output a probability prediction (#1270).feat: Added field
$uhash_tabletoBenchmarkResultand functionsuhash()anduhashes()to easily compute uhashes for given learner, task, or resampling ids (#1270).feat: You can now change the default predict type of classification learners to
"prob"by setting the optionmlr3.prob_as_defaulttoTRUE(#1273).feat:
benchmark_grid()will now throw a warning if you mix different predict types in the design (#1273).feat: Converting a
BenchmarkResultto adata.tablenow includes thetask_id,learner_id, andresampling_idcolumns (#1275).fix: Add missing parameters for
"regr.pinball"and"sim.phi"measures.feat: Add new measure
"regr.rqr"for quantile regression.
mlr3 0.23.0
CRAN release: 2025-03-12
- feat: Add new
col_roleoffset inTaskand offsetLearnerproperty. A warning is produced if a learner that doesn’t support offsets is trained with a task that has an offset column. - fix: The
$predict_newdata()method ofLearnernow automatically conducts type conversions (#685). - BREAKING_CHANGE: Predicting on a
Taskwith the wrong column information is now an error and not a warning. - Column names with UTF-8 characters are now allowed by default. The option
mlr3.allow_utf8_namesis removed. - BREAKING CHANGE:
Learner$predict_typesis read-only now. - docs: Clear up behavior of
Learner$predict_typeafter training. - feat: Add callbacks to
resample()andbenchmark(). - fix: Internal tuning and validation now works when the model requires marshaling (#1256)
mlr3 0.22.1
CRAN release: 2024-11-27
- fix: Extend
assert_measure()with checks for trained models inassert_scorable().
mlr3 0.22.0
CRAN release: 2024-11-24
- fix: Quantiles must not ascend with probabilities.
- refactor: Replace
tsk("boston_housing")withtsk("california_housing"). - feat: Require unique learner ids in
benchmark_grid(). - BREAKING CHANGE: Remove
$loglik()method from all learners. - fix: Ignore
future.globals.maxSizewhenfuture::plan("sequential")is used. - feat: Add
$characteristicsfield toTaskto store additional information.
mlr3 0.21.1
CRAN release: 2024-10-18
- feat: Throw warning when prediction and measure type do not match.
- fix: The
mlr_reflectionswere broken when an extension package was not loaded on the workers. Extension packages must now register themselves in themlr_reflections$loaded_packagesfield.
mlr3 0.21.0
CRAN release: 2024-09-24
- BREAKING CHANGE: Deprecated
data_formatanddata_formatsforLearner,Task, andDataBackendclasses. - feat: The
partition()function creates training, test and validation sets now. - perf: Optimize the runtime of fixing factor levels.
- perf: Optimize the runtime of setting row roles.
- perf: Optimize the runtime of marshalling.
- perf: Optimize the runtime of
Task$col_info. - fix: column info is now checked for compatibility during
Learner$predict(#943). - BREAKING CHANGE: The predict time of the learner now stores the cumulative duration for all predict sets (#992).
- feat:
$internal_valid_taskcan now be set to anintegervector. - feat: Measures can now have an empty
$predict_sets(#1094). This is relevant for measures that only extract information from the model of a learner (such as internal validation scores or AIC / BIC) - BREAKING CHANGE: Deprecated the
$divide()method - fix:
Task$cbind()now works with non-standard primary keys fordata.frames(#961). - fix: Triggering of fallback learner now has log-level
"info"instead of"debug"(#972). - feat: Added new measure
regr.pinballhere and in mlr3measures. - feat: Added new measure
mu_auchere and in mlr3measures. - feat: Add option to calculate the mean of the true values on the train set in
msr("regr.rsq"). - feat: Default fallback learner is set when encapsulation is activated.
- feat: Learners
classif.debugandregr.debughave new methods$importance()and$selected_features()for testing, also in downstream packages. - feat: Create default fallback learner with
default_fallback(). - feat: Check column roles when using
$set_col_roles()and$col_roles. - fix: Add predict set to learner hash.
- BREAKING CHANGE: Encapsulation and the fallback learner are now set with the
$encapsulate(method, fallback)method. The$fallbackfield is read-only now and the encapsulate status can be retrieved from the$encapsulationfield.
mlr3 0.20.2
CRAN release: 2024-07-29
- refactor: Move RhpcBLASctl to suggest.
- feat: Added resampling property
"primary_iters" - feat: Added possibility to access observation-wise losses via function
$obs_loss. This is possible forPrediction,ResampleResultandBenchmarkResult. - feat:
Measures now also return a vector of numerics.
mlr3 0.20.1
CRAN release: 2024-07-22
- feat: Add multiclass Matthews correlation coefficient
msr("classif.mcc").
mlr3 0.19.0
CRAN release: 2024-04-24
- Added support for
"marshal"property, which allows learners to process models so they can be serialized. This happens automatically duringresample()andbenchmark(). - Encapsulation methods use the same RNG state now.
- Fix missing values in
default_values.Learner()function. - Encapsulated error messages are now printed with the
lgrpackage.
mlr3 0.18.0
CRAN release: 2024-03-05
- Prepare compatibility with new paradox version.
- Dictionary conversion of
mlr_learnersrespects prototype arguments recently added in mlr3misc. - Skip unnecessary clone of learner’s state in
resample().
mlr3 0.17.1
CRAN release: 2023-12-21
- Remove
data_prototypewhen resampling fromlearner$stateto reduce memory consumption. - Reduce number of threads used by
data.tableand BLAS to 1 when runningresample()orbenchmark()in parallel. - Optimize runtime of
resample()andbenchmark()by reducing the number of hashing operations.
mlr3 0.17.0
CRAN release: 2023-11-17
- Learners cannot be added to the
HotstartStackanymore when the model is missing. - Learners below the
hotstart_thresholdare not added to theHotstartStackanymore. - The
learner$state$train_timein hotstarted learners is now only the time of the last training. - Added debug messages to the hotstart stack.
- Fixed bug where the
HotstartStackdid not work with column roles set in the task. - The
designofbenchmark()can now include parameter settings. - Speed up resampling by removing unnecessary calls to
packageVersion(). - Fix boston housing data set.
- Export generic function
col_infoto allow adding new methods for backends. - Task printer includes row roles now.
- Add
"mlr3.exec_chunk_bins"option to split the resampling iterations into a number of bins.
mlr3 0.16.1
CRAN release: 2023-06-17
- Function
data.table()is now re-exported. - Fixed a test which randomly failed.
- Improved documentation.
- Add encapsulation mode
"try", which works similar to"none"but captures errors
mlr3 0.16.0
CRAN release: 2023-05-05
- Added argument
pairedtobenchmark_grid()function, which can be used to create a benchmark design, where resamplings have been instantiated on tasks. - Added S3 method for
ResultDataforas_resample_result()converter. - Added S3 method for
listforas_resample_result()converter. - The featureless classification learner now returns proper probabilities (#918).
mlr3 0.15.0
CRAN release: 2023-03-17
- Many returned tables are now assigned a class for a
printmethod to make the output more readable. - Fixed some typos
mlr3 0.14.1
CRAN release: 2022-11-02
- Removed dependency on package
distr6. - Fixed reassembling of
GraphLearner. - Fixed bug where the measured elapsed time was 0: https://stackoverflow.com/questions/73797845/mlr3-benchmarking-with-elapsed-time-measure
- Fixed
as_prediction_classif()fordata.frame()input (#872). - Improved the error message when predict type of fallback learner does not match the predict type of the learner (mlr-org/mlr3extralearners#241).
- The test set is now available to the
Learnerduring train for early stopping.
mlr3 0.14.0
CRAN release: 2022-08-11
- Added multiclass measures:
mauc_aunu,mauc_aunp,mauc_au1u,mauc_au1p. - Measure
classif.costsdoes not require aTaskanymore. - New converter:
as_task_unsupervised() - Refactored the task types in
mlr_reflections.
mlr3 0.13.4
CRAN release: 2022-07-21
- Added new options for parallelization (
"mlr3.exec_random"and"mlr3.exec_chunk_size"). These options are passed down to the respective map functions in packagefuture.apply. - Fixed runtime measures depending on specific predict types (#832).
- Added
head()andtail()methods forTask. - Improved printing of multiple objects.
mlr3 0.13.3
CRAN release: 2022-03-01
- Most objects now have a new (optional) field
label, i.e.Task,TaskGenerator,Learner,Resampling, andMeasure. -
as.data.table()methods for objects of classDictionaryhave been extended with additional columns. -
as_task_classif.formula()andas_task_regr.formula()now remove additional attributes attached to the data which caused some learners to break. - Packages are now loaded prior to calling the
$train()and$predict()methods of aLearner. This ensures that package loading errors are properly propagated and not affected by encapsulation (#771).
mlr3 0.13.2
CRAN release: 2022-02-14
- Setting a fallback learner for a learner with encapsulation in its default settings now automatically sets encapsulation to
"evaluate"(#763). -
as_task_classif()andas_task_regr()now support the construction of tasks using the formula interface, e.g.as_task_regr(mpg ~ ., data = mtcars)(#761). - Added
default_values()function to extract parameter default values fromLearnerobjects. - The row role
"validation"has been renamed to"holdout". In the next release,mlr3will start switching to the now more common terms"train"/"validation"instead of"train"/"test"for the sets created during resampling.
mlr3 0.13.1
CRAN release: 2022-01-19
- Improved performance for many operations on
ResampleResultandBenchmarkResult. -
resample()andbenchmark()got a new argumentcloneto control which objects to clone before performing computations. - Tasks are checked for infinite values during the conversion from
data.frametoTaskinas_task_classif()andas_task_regr(). A warning is signaled if any column contains infinite values.
mlr3 0.13.0
CRAN release: 2021-11-16
- Learners which are capable of resuming/continuing (e.g., learner
(classif|regr|surv).xgboostwith hyperparameternroundsupdated) can now optionally store a stack of trained learners to be used to hotstart their training. Note that this feature is still somewhat experimental. SeeHotstartStackand #719. - New measures to score similarity of selected feature sets:
sim.jaccard(Jaccard Index) andsim.phi(Phi coefficient) (#690). -
predict_newdata()now also supportsDataBackendas input. - New function
install_pkgs()to install required packages. This generic works for all objects with apackagesfield as well asResampleResultandBenchmarkResult(#728). - New learner
regr.debugfor debugging. - New
Taskmethod$set_levels()to control how data with factor columns is returned, independent of the usedDataBackend. - Measures now return
NAif prerequisite are not met (#699). This allows to conveniently score your experiments with multiple measures having different requirements. - Feature names may no longer contain the special character
%.
mlr3 0.12.0
CRAN release: 2021-08-05
- New method to assign labels to columns in tasks:
Task$label(). These will be used in visualizations in the future. - New method to add stratification variables:
Task$add_strata(). - New helper function
partition()to split a task into a training and test set. - New standardized getter
loglik()for classLearner. - New measures
"aic"and"bic"to compute the Akaike Information Criterion or the Bayesian Information Criterion, respectively. - New Resampling method:
ResamplingCustomCV. Creates a custom resampling split based on the levels of a user-provided factor variable. - New argument
encapsulateforresample()andbenchmark()to conveniently enable encapsulation and also set the fallback learner to the featureless learner. This is simply for convenience, configuring each learner individually is still possible and allows a more fine-grained control (#634, #642). - New field
parallel_predictforLearnerto enable parallel predictions via the future backend. This currently is only enabled while calling the$predict()or$predict_newdatamethods and is disabled duringresample()andbenchmark()where you have other means to parallelize. - Deprecated public (and already documented as internal) field
$datainResampleResultandBenchmarkResultto simplify the API and avoid confusion. The converteras.data.table()can be used instead to access the internal data. - Measures now have formal hyperparameters. A popular example where this is required is the F1 score, now implemented with customizable
beta. - Changed default of argument
orderedinTask$data()fromTRUEtoFALSE. - Fixed getter
ResamplingRepeatedCV$folds()(#643). - Fixed hashing of some measures.
- Removed experimental column role
uri. This role be split up into multiple roles by themlr3keraspackage. - Update paramtest to error on extra parameters
mlr3 0.11.0
CRAN release: 2021-03-05
- Added a
as.data.table.Resamplingmethod. - Renamed column
"row_id"to"row_ids"in theas.data.table()methods forPredictionClassifandPredictionRegr(#547). - Added converters
as_prediction_classif()andas_prediction_regr()to reverse the operation ofas.data.table.PredictionClassif()andas.data.table.PredictionRegr(). - Specifying a weight column during
learner$predict_newdata()is not mandatory anymore (#563). -
Task$data()defaults to return only active rows and columns, instead of asserting to only return rows and columns. As a result, the$data()method can now also be used to query inactive rows and cols from theDataBackend. - New (experimental) column role
uriwhich is intended to point to external resources, e.g. images on the file system. - New helper
set_threads()to control the number of threads during calls to external packages. All objects will be migrated to have threading disabled in their defaults to avoid conflicting parallelization techniques (#605). - New option
mlr3.debug: avoid calls tofutureinresample()andbenchmark()to improve the readability of tracebacks. - New experimental option
mlr3.allow_utf8_names: allow non-ascii characters in column names in tasks.
mlr3 0.10.0
CRAN release: 2021-01-21
- Result containers
ResampleResultandBenchmarkResultnow optionally remove the DataBackend of the Tasks in order to reduce file size and memory footprint after serialization. To remove the backends from the containers, setstore_backendstoFALSEinresample()orbenchmark(), respectively. Note that this behavior will eventually will be the default for future releases. - Prediction objects generated by
Learner$predict_newdata()now have row ids starting from 1 instead auto incremented row ids of the training task. -
as.data.table.DictionaryTasksnow returns an additional columnproperties. - Added flag
conditionstoResampleResult$score()andBenchmarkResult$score()to allow to work with failing learners more conveniently.
mlr3 0.9.0
CRAN release: 2020-12-06
- New methods for
Task:$set_col_rolesand$set_row_rolesas a replacement for the deprecated and less flexible$set_col_roleand$set_row_role. - Learners can now have a timeout (#556).
- Removed S3 method
friedman.test.BenchmarkResult()in favor of the newmlr3benchmarkpackage.
mlr3 0.8.0
CRAN release: 2020-10-21
-
MeasureOOBErrornow has set propertyminimizetoTRUE. - New learner property
"featureless"to tag learners which can operate on featureless tasks. - Fixed [ResampleResult] ignoring argument
predict_setsfor returned [Prediction] objects. - Compatibility with new version of
lgr.
mlr3 0.7.0
CRAN release: 2020-10-07
- Updated properties of featureless learners to apply it on all feature types (did not work on POSIXct columns).
- Fixed measures being calculated as
NaNforBenchmarkResultfor resamplings with a single iteration (#551). - Fixed a bug where a broken heuristic disabled nested parallelization via package
future(mlr3tuning#270). -
ResampleResultandBenchmarkResultnow share a common interface to store the experiment results. Manual construction is still possible with helper functionas_result_data() - Fixed deep cloning of
ResamplingCVandResamplingRepeatedCV. - New measure
classif.prauc(area under precision-recall curve). - Removed dependency on orphaned package
bibtex.
mlr3 0.6.0
CRAN release: 2020-09-13
- Compact in-memory representation of R6 objects to save space when saving objects via
saveRDS()orserialize(). - Objects in containers like
ResampleResultorBenchmarkResultare now de-duplicated for an optimized serialization. - Fixed data set
breast_cancer: all factor features are now correctly stored as ordered factors. - Added a new utility function
convert_task().
mlr3 0.5.0
CRAN release: 2020-08-07
- Added classification task
breast_cancer - Added
ResamplingLOOfor leave-one-out resampling. - Regression now supports predict type
"distr"using thedistr6package. - Fixed
ResamplingBootstrapin combination with grouping (#514). - Fixed plot method of
TaskGeneratorMoons. - Added hyperparameter
keep_modelto learners"classif.rpart"and"regr.rpart".
mlr3 0.3.0
CRAN release: 2020-06-02
- Package
future.applyis now imported (instead of suggested). This is necessary to ensure reproducibility: This way exactly the same result is calculated, independent of the parallel backend. - Fixed a bug where prediction on new data for a task with blocking information raised an exception (#496).
- New binding:
Task$order.
mlr3 0.2.0
CRAN release: 2020-04-17
- Some handy cheat sheets can now be downloaded from the project homepage.
- Added new measures
classif.bbrier(binary Brier score) andclassif.mbrier(multi-class Brier score). - Added new Resampling:
ResamplingInsample. - Added base class for unsupervised tasks:
TaskUnsupervised.
mlr3 0.1.7
CRAN release: 2020-02-23
Switched to new
roxygen2documentation format for R6 classes.resample()andbenchmark()now support progress bars via the packageprogressr.Row ids now must be numeric. It was previously allowed to have character row ids, but this lead to confusion and unnecessary code bloat. Row identifiers (e.g., to be used in plots) can still be part of the task, with row role
"name".Row names can now be queried with
Task$row_names.DataBackendMatrixnow supports to store an optional (numeric) dense part.Added new method
$filter()to filterResampleResults to a subset of iterations.Removed deprecated
character()-> object converters.Empty test sets are now handled separately by learners (#421). An empty prediction object is returned for all learners.
The internal train and predict function of
Learnernow should be implemented as private method: instead of public methodstrain_internalandpredict_internal, private methods.trainand.predictare now encouraged.-
It is now encouraged to move some internal methods from public to private:
-
Learner$train_internalshould now be private method$.train. -
Learner$predict_internalshould now be private method$.predict. -
Measure$score_internalshould now be private method$.score. The public methods will be deprecated in a future release.
-
Removed arguments from the constructor of measures
classif.debugandclassif.costs. These can be set directly bymsr().
mlr3 0.1.6
CRAN release: 2019-12-19
We have published an article about mlr3 in the Journal of Open Source Software: https://joss.theoj.org/papers/10.21105/joss.01903. See
citation("mlr3")for the citation info.New method
Learner$reset().New method
BenchmarkResult$filter().Learners returned by
BenchmarkResult$learnersare reset to encourage the safer alternativeBenchmarkResult$score()to access trained models.Fix ordering of levels in
PredictionClassif$set_threshold()(triggered an assertion).
mlr3 0.1.5
CRAN release: 2019-12-10
Switched from package
Metricsto packagemlr3measures.Measures can now calculate all scores using micro or macro averaging (#400).
Measures can now be configured to return a customizable performance score (instead of
NA) in case the score cannot be calculated.Character columns are now treated differently from factor columns. In the long term,
character()columns are supposed to store text.Fixed a bug triggered by integer grouping variables in
Task(#396).benchmark_grid()now accepts instantiated resamplings under certain conditions.
mlr3 0.1.4
CRAN release: 2019-10-28
Task$set_col_roles()andTask$set_row_roles()are now deprecated. Instead it is recommended for now to work with the listsTask$col_rolesandTask$row_rolesdirectly.Learner$predict_newdata()now works without argumenttaskif the learner has been fitted withLearner$train()(#375).Names of column roles have been unified (
"weights","label","stratify"and"groups"have been renamed).Replaced
MeasureClassifF1withMeasureClassifFScoreand fixed a bug in the F1 performance calculation (#353). Thanks to @001ben for reporting.Stratification is now controlled via a task column role (was a parameter of class
Resamplingbefore).Added a S3
predict()method for classLearnerto increase interoperability with other packages.Many objects now come with a
$help()which opens the respective manual page.
mlr3 0.1.3
CRAN release: 2019-09-18
It is now possible to predict and score results on the training set or on both training and test set. Learners can be instructed to predict on multiple sets by setting
predict_sets(default:"test"). Measures operate on all sets specified in their fieldpredict_sets(default:"test").ResampleResult$predictionandResampleResult$predictions()are now methods instead of fields, and allow to extract predictions for different predict sets.ResampleResult$performance()has been renamed toResampleResult$score()for consistency.BenchmarkResult$performance()has been renamed toBenchmarkResult$score()for consistency.Changed API for (internal) constructors accepting
paradox::ParamSet(). Instead of passing the initial values separately, the initial values must now be set directly in theParamSet.
mlr3 0.1.2
CRAN release: 2019-08-25
Deprecated support of automatically creating objects from strings. Instead,
mlr3provides the following helper functions intended to ease the creation of objects stored in dictionaries:tsk(),tgen(),lrn(),rsmp(),msr().BenchmarkResultnow ensures that the storedResampleResults are in a persistent order. Thus,ResampleResults can now be addressed by their position instead of their hash.New field
BenchmarkResult$n_resample_results.New field
BenchmarkResult$hashes.New method
Task$rename().New S3 generic
as_benchmark_result().Renamed
GeneratortoTaskGenerator.Removed the control object
mlr_control().Removed
ResampleResult$combine().Removed
BenchmarkResult$best().