Skip to content

mlr3extralearners 1.8.0

Latest

Choose a tag to compare

@be-marc be-marc released this 01 Dec 11:53
3d00bba
  • All learners now list mlr3extralearners in their $packages, so that the package is loaded in the worker process when a learner is encapsulated or runs in parallel. This was missing for 65 learners, e.g. the RWeka learners (#478).
  • Added minimum versions for all learner packages in Suggests that had none (#478).
  • classif.liblinear and regr.liblinear: added the regularizeBias parameter of LiblineaR::LiblineaR(), which is available from LiblineaR 2.50-1 on.
  • classif.rpf and regr.rpf: re-added the random planted forest learners from randomPlantedForest (>= 0.5.0), which now supports marshaling and can therefore be used with encapsulation, parallelization, and saved to disk (#615).
  • New learners classif.limix and regr.limix wrapping the LimiX tabular foundation models (LimiX-2, LimiX-2M, and LimiX-16M) of the LimiX Python package via reticulate.
  • New learner regr.stochtree fitting Bayesian additive regression trees (BART), optionally warm-started with the grow-from-root algorithm of XBART, with stochtree::bart() (#568).
  • New learner regr.stochtree_bcf fitting Bayesian causal forests (BCF), optionally warm-started with the grow-from-root algorithm of XBCF, with stochtree::bcf(). The treatment is a feature of the task selected with the treatment parameter, and the estimated treatment effect is returned by $treatment_effect() (#568).
  • Registering a learner whose id or class name is already in use now throws an error instead of silently overwriting the existing learner (#614).
  • classif.C50: added the strip_time_stamps parameter of C50::C5.0Control(), which is available from C50 1.0.1 on.
  • classif.glmer: added the disp_method, maxPhiIter, and disp_dof_correction parameters of lme4::glmerControl(), which are available from lme4 2.1.0 on.
  • list_mlr3learners(): filtering by required_packages now returns all learners that require any of the given packages, instead of no learners at all (#627).
  • regr.botorch_fullybayesian, regr.botorch_mixedsingletaskgp, and regr.botorch_singletaskgp: fixed segfaults during training and prediction when R uses a recent OpenBLAS (e.g. on Ubuntu 26.04), whose cblas_dgemm_batch() was called by torch instead of its own MKL version. torch is now imported with RTLD_DEEPBIND if it was not imported before. The data is also copied into torch tensors instead of sharing the read-only memory of the R matrix.
  • New learner regr.fuser fitting fused lasso regression over subsets of the data with fuser::fusedL2DescentGLMNet(). The subsets are defined by the column with the subset role of mlr3resampling (#426, #555).
  • New learner regr.gpytorch fitting exact Gaussian process regression models with the gpytorch Python package (#487, #584).
  • regr.glm: added the tol and wtol parameters of stats::glm.control(), which are available from R 4.7.0 on.
  • New learner regr.gwrf fitting geographically weighted random forests with SpatialML::grf() (#582).
  • New learner regr.gpboost combining tree-boosting with Gaussian process and grouped random effects models with gpboost::gpb.train() (#357, #585).
  • New learner regr.xbart fitting accelerated Bayesian additive regression trees with XBART::XBART() from the GitHub package 'XBART' (#587).
  • Update CoxBoost version to 1.5.2 which fixes a prediction CIF bug and enabling prediction with one observation or time point from the upstream package (and so no need to handle this on the mlr3 side).
  • Use mlr3cmprsk version 0.0.6.
  • cmprsk.coxboost and cmprsk.rfsrc now return the time points of the predicted cumulative incidence functions per cause, as required by mlr3cmprsk (>= 0.0.9). cmprsk.coxboost stores each cause's CIF at that cause's unique training event times unless the times parameter is set.
  • surv.nelson: fixed training failing with mlr3misc (>= 0.24.0), whose formulate() no longer accepts a numeric right-hand side.