Changelog
Source:NEWS.md
mlr3extralearners 1.2.0
New Features
- New Learners:
LearnerCompRisksRandomForestSRCLearnerSurvBlockForestLearner{Classif,Regr,Surv}BlockForestLearner{Classif,Regr}ExhaustiveSearchLearnerClassifFastaiLearner{Classif,Regr}PenalizedLearner{Classif,Regr}BstLearnerClassifAdabagLearnerClassifAdaBoostingLearner{Classif,Regr}EvtreeLearnerClassifKnnLearnerClassifRotationForestLearnerRegrCrsLearnerClassifStepPlrLearnerClassifMdaLearnerClassifRfernsLearnerClassifNeuralnetLearnerRegrBrnnLearnerRegrBotorchSingleTaskGPLearnerRegrBotorchMixedSingleTaskGP
- Add new
control_custom_funparameter insurv.aorsf - New function
learner_is_runnable()to check whether the required packages to train a learner are available. - Added
selected_featuresproperty to RandomForestSRC learners (prediction doesn’t work ifvars.used = 'all.trees')
Bug fixes
- Tests are now skipped when the suggested packages is not available. This will make local development much more convenient.
- Removed parameters from RandomForestSRC learners that weren’t used + optimized tests
- Removed
discreteparameter fromsurv.parametric, so that it is impossible to returndistr6::VectorDistributionsurvival predictions (softly deprecated inmlr3proba@v0.8.1)
Breaking Changes
- All (extra) density learners are removed. These will be transferred to
mlr3probasoon (seev0.8.2or later). - The
create_learner()generator was removed, because it was hard to maintain and boilerplate code in the age of LLMs is easy enough to write. - remove
discreteparameter fromsurv.parametric, so that it is impossible to returndistr6::VectorDistributionsurvival predictions (softly deprecated inmlr3proba@v0.8.1) -
classif.lightgbmnow works with encapsulation with multiclass tasks - the package no longer re-exports
lrnandlrns, which should anyway be available to the user as the package depends onmlr3, where these functions are defined. - Removed various learners:
-
randomPlantedForestwas removed, because there is currently no way to save the model. - The deep learning methods from
survivalmodelswere removed, because they also cannot be saved and because the upstream package is archived.
-
Other
- The package now imports
withr -
mlr3probais now an import and no longer a suggested package. -
mlr3cmprskis added as an import. - The package no longer uses
set.seed()in the tests and instead useswithr::local_seed()This means the auto tests will be stochastic like they should be. - The CI now checks that RCMD-check passes when suggested packages are not available.
-
distr6dependency is removed.partykitsurvival learners use constant interpolation of the predicted Kaplan-Meier curves viasurvdistr::vec_interp()
mlr3extralearners 1.1.0
New Features:
- Support offset in learners
regr|classif.mgcv,regr.glmandregr.lmer. - Added learners
LearnerRegrQGamandLearnerRegrMQGam. - Added learners
LearnerClassifTabPFNandLearnerRegrTabPFN. - Added the new version of learner weights to all learners that support weights
- Added marshaling for
surv.xgboost.cox. - Added learner
LearnerClassifKnn.
Bugfixes:
- lightgbm classifier now works with encapsulation (#437)
mlr3extralearners 1.0.0
- Add “Prediction types” doc section for all 30 survival learners + make sure it is consistent #347
- All survival learners have
crankas main prediction type (and it is always returned) #331 - Added minimum working version for all survival learners in
DESCRIPTIONfile - Harmonized the use of times points for prediction as much as possible across survival learners #387
- added
gridify_times()function to coarse time points - fixed
surv.parametricandsurv.akritasuse ofntimeargument
- added
-
surv.parametricis now used by default withdiscrete = TRUE(no survival learner returns nowdistr6vectorized distribution by default) - Doc update for
mlr3(version0.21.0) - Fixed custom and initial values across all learners documentation pages
- Fixed doc examples that used
learner$importance() - Set
n_thread = 1forsurv.aorsfand use unique event time points for predictedS(t) - Add
selected_features()forsurv.penalized - Fix
surv.prioritylassolearner + adddistrpredictions via Breslow #344 - Survival SVM
gamma.muparameter was split togammaandmuto enable easier tuning (surv.svmlearner)
mlr3extralearners 0.9.0
- Added response (i.e., survival time) prediction to
aorsflearner - Updated support for flexsurv v2.3
- Fixed bug in catboost that caused invalid probability levels during
resample()orbenchmark()(#353) - the
$modelslot oflrn("classif.abess")now contains the model of the upstream package again. - Add early stopping and validation support to learners
lrn("surv.xgboost.aft")andlrn("surv.xgboost.cox"). - Added early stopping and validation to catboost and lightgbm.
- Added missing
case.depthparameter torfsrclearners. -
mlr3is now in Depends instead of Imports. - Deprecated learner
lrn("surv.xgboost")was now removed. Uselrn("surv.xgboost.cox")orlrn("surv.xgboost.aft")instead. - Change xgboost default nrounds from 1 to 1000.
- remove obliqueRSF Learner which was long superseded by aorsf
- a lot of examples were added to the learners
mlr3extralearners 0.8.0
- Added
surv.xgboost.coxandsurv.xgboost.aftseparate survival learners.distrprediction on the cox xgboost learner is now estimated via Breslow by default and aft xgboost has now in addition aresponseprediction (survival time) - Ported
surv.parametriccode tosurvivalmodels, changedtypeparameter toformto avoid conflict with survivalmodels’s default parameter list - Fix: Replace hardcoded
VectorDistributions from partykit and flexsurv survival learners with survival matrices (Matdist) (thanks to @bblodfon) - Feat: Add
discreteparameter insurv.parametriclearner to returnMatdistsurvival predictions - Added method
selected_features()to CoxBoost survival learners (thanks to @bblodfon) - Added the Random Planted Forest Learner (thanks to @jemus42)
- re-added the catboost learner as it was requested (was previously removed because of installation issues)
-
surv.rangernow receives parameters during$predict()(thanks to @jemus42) - Feature: Learner
surv.bartwas added (thanks to @bblodfon) - Parameters of
lrn("surv.aorsf")were updated (thanks to @bcjaeger) - Various minor doc improvements
- Added the
distrpredict type to thesurv.cv_glmnetandsurv.glmnetlearners (thanks to @bblodfon) - Feat: Added many new WEKA learners (thanks to @damirpolat)
- Fix:
IandFparams from IBk learner are too interdependent (Ican only beTRUEwhenFisFALSEand vice versa). Combined them into one factor paramweightthat has two levels –IandF. - Fix:
Umust beFALSEforSto be tunable in J48 learner. - Compatibility with upcoming ‘paradox’ release.
mlr3extralearners 0.7.1
- Add parameter
perf.typeto rfsrc learners - Add vignette about “extending learners” which was previously in the mlr3book.
- Remove the
"multiclass"property fromlrn("classif.gbm"), as this feature is broken.
mlr3extralearners 0.7.0
- Add new parameters to lightgbm learners
- Add feature type
"factor"to gam learners - Add new parameter
min.bucketto ranger - Remove catboost learner (because the developers don’t properly take care of the R package)
- Add argument
nthreadstodbartslearners; set verbose toFALSEby default (thanks to @ck37) - Add new parameters to prioritylasso
- Fix: available levels for parameter of imbalanced random forest (typo)
mlr3extralearners 0.6.1
- BREAKING CHANGE: lightgbm’s early stopping mechanism now uses the task’s test set.
- feat: Add two new learners
regr.abessandclassif.abess(thanks to @bbayukari) - feat: Added learner
LearnerClassifImbalancedRandomForestSRC(thanks to - Feat: Added learners
LearnerClassifPriorityLasso,LearnerRegrPriorityLasso,LearnerSurvPriorityLasso(thanks to
mlr3extralearners 0.6.0
- Feat: Added learner
LearnerClassifGlmer(https://github.com/mlr-org/mlr3extralearners/issues/243) - Fix: Failing xgboost parameter test
- Fix: Add arguments
neiandncv.threadthat were added tomgcv::gam()in version 1.8.41 - Fix: Added missing property
"weights"toLearnerClassifGlmerandLearnerRegrLmer - Fix:
lightgbmuses theparam_valsstored in thestatefor hotstarting - Fix: Rely on
state$data_prototypeto get ordering of features viaordered_features()like inmlr3learnersand therefore obviate the need to storefeature_namesin thestate - Fix: extralearners are removed from
mlr_learnerswhen unloadingmlr3extralearners
mlr3extralearners 0.5.49
- Added missing feature type
"integer"toclassif.randomForest - Added missing feature type
"logical"to {classif, regr}.randomForest
mlr3extralearners 0.5.48
- Add rsm learner
- fix
list_mlr3learners()function. Now slower but correct. - Remove catboost from DESCRIPTION until it can be installed with pak
- Fix typos in test templates
- Update README
mlr3extralearners 0.5.47
- Add mlr3proba dependencies into remotes (no longer on CRAN)
- Correct documentation of gbm learner: default was incorrectly documented and the parameter was incorrectly referred to as
keep_datainstead ofkeep.data - Add catboost to the dependencies
- Added
LearnerSurvAorsfwith keysurv.aorsf. See https://github.com/bcjaeger/aorsf for more details onaorsf
mlr3extralearners 0.5.46
- Addresses https://github.com/mlr-org/mlr3extralearners/issues/225
- Fix link in README
- Fix learner status overview
mlr3extralearners 0.5.44
- Corrected parameters in lightgbm learners
- Implemented hotstarting for lightgbm learners
- Adjusted lightgbm train and predict methods to changes in lightgbm dev version (https://github.com/mlr-org/mlr3extralearners/issues/217)
- Added paramtests for lightgbm through webscraping
mlr3extralearners 0.5.43
- Clean up test files
- Fix installation of catboost in CI
- Fix the create_learner function
- Adjust templates for creation of learner
- Split up “Parameter Changes” in sections “Custom mlr3 parameters” and “Custom mlr3 defaults”
mlr3extralearners 0.5.42
Fix bug in C50 learner: Weights were not passed correctly
Remove kerdiest Learner because it is not being maintained on CRAN anymore
mlr3extralearners 0.5.41
Fix bugs in learners lmer and J48
Remove predict type proba from J48
Delay loading of mlr3proba learners
mlr3extralearners 0.5.40
-
lightgbm:
- Add parameter convert_categoricals
- Validation split not respects grouping / stratification
- Fixed bug
Docs: Renamed section “Custom mlr3 defaults” to “Parameter Changes”
Added labels to learners
mlr3extralearners 0.5.39
Remove extraTrees because it is no longer on CRAN and GH version has errors
Remove sketch_eps parameter from xgboost because it is no longer listed in the docs
mlr3extralearners 0.5.37
- Improve docs and change doc layout
- Fix typo in man-roxygen templates
- Port mlr3proba learners (mlr3proba is no longer on CRAN)
- Exclude relevant files in precommit
mlr3extralearners 0.5.35
- Full installatio in workflow ‘test_selection’ (is faster than the previous approach, where selected packages were installed from CRAN)
mlr3extralearners 0.5.33
- consistency: Use params in train and predict calls, even in learners that currently don’t have predict / train params. This allows easier correction of parameters by users.
mlr3extralearners 0.5.32
chore: add new parameters for kde and rfsrc
temporarily disable feat_all test for obliqeRSF (failed in $score() stage, because issue only happened in CI and could not be reproduced
mlr3extralearners 0.5.31
- Many non-standard tags were included in the learners, these are removed
- Some bugs in learners were fixed (survival rfsrc: “estimator” was incorrectly handled in .predict)
- Minor refactorings in train methods of learners
- Avoid partial argument matching: Some learners used “tag = …” instead of the correct “tags = …”
mlr3extralearners 0.5.25
- Introduce parameter
early_stopping_splitfor lightgbm learners - Tidy description of R package
- Udpate NEWS.md for previous releases
mlr3extralearners 0.5.21
- Update files for creation of new learner
- Fixes regarding
create_learner - CI modifications
mlr3extralearners 0.5.20
- Fix all parameter tests (run_paramtest was updated in mlr3 in November 2021)
- paramtests were moved from inst/paramtest to tests/testthat
- Change in the CI files: parameter tests and learner tests are now run together
- formatting and other minor corrections
mlr3extralearners 0.5.18
- Allow integer as feature types for RWeka learners
- Correction of RWeka tests
mlr3extralearners 0.5.7
- Introduced new custom hyperparameters for
randomForestSRC::rfsrc(),partykit::cforest()andobliqueRSF::ORSF()to conveniently tune hyperparameters whose upper limit depends on data dimensions.
mlr3extralearners 0.5.6
- Fix learners requiring distr6. distr6 1.6.0 now forced and param6 added to suggests
mlr3extralearners 0.5.4
- Add
regr.gaussprandclassif.gaussprfromkernlab::gausspr
mlr3extralearners 0.5.3
- Fixed bugs in catboost for classification
- Removed factor feature types from catboost
- Added
install_catboostto make installation from catboost simpler
mlr3extralearners 0.5.0
- Deprecated liblinear learners now removed
- Internal changes to ParamSet representation
- checkmate now imported
mlr3extralearners 0.4.7
- Moved
nnetlearners to mlr3learners
mlr3extralearners 0.4.0
- Added
LearnerRegrGamandLearnerClassifGamwith keysregr.gamandclassif.gamfrom packagemgcv.
mlr3extralearners 0.3.0
- Added
LearnerRegrLightGBMandLearnerClassifLightGBMwith keysregr.lightgbmandclassif.lightgbmrespectively. Copied from mlr3learners.lightgbm -
LearnerRegrLiblineaRXandLearnerClassifLiblineaRXdeprecated in favour of only two learners (LearnerRegrLiblineaRandLearnerClassLiblineaR) with added hyper-parameters. Deprecated learners will be removed in v0.3.0. - Deprecated
classif.nnetwill be removed in v0.4.0. - Deprecated
liblinearXwill be removed in v0.4.0.
mlr3extralearners 0.2.0
-
dist = "logistic"has been removed fromsurv.parametricas it is unclear what this was previously predicting. - Added
type = "tobit"fordist = "gaussian"so predictions can correspond withsurvival::survreg. - Added
LearnerRegrGlmwith the unique keyregr.glmfrom packagestats, which allows users to change thefamilyhyperparameter when fitting generalized linear regression models. - Minor internal changes
- Removed
keeptreesparameter fromclassif.bartas this is forced internally - Fixed incorrect response and probability predictions in
classif.bart - Added hyper-parameters to
classif.earthandregr.earth - Added
sepredict type toregr.earth - Fixed predictions in
regr.knnandclassif.knn
mlr3extralearners 0.1.3
-
mlr3probamoved toSuggests -
install_learnersnow additionally installs required mlr3 packages - Bugfix in
surv.parametricoccurring if feature names are switched between training and predicting - Deprecated
classif.nnet, in the future please load from mlr3learners
mlr3extralearners 0.1.1
- Patch for bugs in
survlearners that were reversing the order ofcrank, see this issue for full details: https://github.com/mlr-org/mlr3proba/issues/165 -
responseis no longer returned bysurv.mboost,surv.blackboost,surv.glmboost,surv.gamboostorsurv.parametric - Bugfix in
surv.parametricwithphform - Bugfix in
survivalmodelslearners which weren’t returningdistr -
surv.coxboostandsurv.coxboost_cvcan now only handleintegerandnumericfeature types, previous automated internal coercions were inconsistent with mlr3 design.