Releases: mlr-org/mlr3
mlr3 0.10.0
- 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 behaviour 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 incrementing row ids of the training task. as.data.table.DictionaryTasksnow returns an additional columnproperties.- Added flag
conditionstoResampleResult$score()and
BenchmarkResult$score()to allow to work with failing learners more
conveniently.
mlr3 0.9.0
- 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 new
mlr3benchmarkpackage.
mlr3 0.8.0
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. - Compability with new version of
lgr.
mlr3 0.7.0
- 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
packagefuture(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
- Compact in-memory representation of R6 objects to save space when
saving objects viasaveRDS()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
- 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.4.0
- Added new task generators (
"cassini","circle","simplex","spirals",
and"moons"). - Columns in tasks generated by task generators have been renamed to be more
consistent. - Added a
plot()method for most task generators. - Corrected data in task
german_credit(#514).
mlr3 0.3.0
- 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.1.8
- Added S3 methods to combine
ResampleResults andBenchmarkResults with
c(). - Fixed a bug where automatic generation of row ids could lead to duplicated ids
viaTask$predict_newdata()/Task$rbind()(#423).
mlr3 0.1.7
-
Switched to new
roxygen2documentation format for R6 classes. -
resample()andbenchmark()now support progress bars via the package
progressr. -
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_internaland
predict_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.debugand
classif.costs. These can be set directly bymsr().