mlr3extralearners: Expanding the mlr3 Ecosystem with Community-Driven Learner Integration

mlr3extralearners: Expanding the mlr3 Ecosystem with Community-Driven Learner Integration - Published in JOSS (2025)

https://github.com/mlr-org/mlr3extralearners

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
  • Committers with academic emails
    1 of 37 committers (2.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

machine-learning mlr3 r r-package

Keywords from Contributors

stacking learners hyperparameter-tuning hyperparameter-optimization preprocessing bagging dataflow-programming ensemble-learning pipelines tune
Last synced: 3 months ago · JSON representation

Repository

Extra learners for use in mlr3.

Basic Info
Statistics
  • Stars: 106
  • Watchers: 4
  • Forks: 56
  • Open Issues: 24
  • Releases: 60
Topics
machine-learning mlr3 r r-package
Created over 5 years ago · Last pushed 3 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.Rmd

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
  cache = FALSE,
  collapse = TRUE,
  comment = "#>",
  echo = TRUE
)
library(mlr3extralearners)
library(magrittr)
```

# mlr3extralearners

Package website: [release](https://mlr3extralearners.mlr-org.com/) \|
[dev](https://mlr3extralearners.mlr-org.com/dev/)

Extra Learners for **[mlr3](https://github.com/mlr-org/mlr3/)**.


[![RCMD Check](https://github.com/mlr-org/mlr3extralearners/actions/workflows/rcmdcheck.yml/badge.svg)](https://github.com/mlr-org/mlr3extralearners/actions/workflows/rcmdcheck.yml)
[![StackOverflow](https://img.shields.io/badge/stackoverflow-mlr3-orange.svg)](https://stackoverflow.com/questions/tagged/mlr3)
[![Mattermost](https://img.shields.io/badge/chat-mattermost-orange.svg)](https://lmmisld-lmu-stats-slds.srv.mwn.de/mlr_invite/)


## What is mlr3extralearners?

`mlr3extralearners` contains all learners from mlr3 that are not in `mlr3learners` or the core packages.
An overview of all learners within the `mlr3verse` can be found [here](https://mlr-org.com/learners.html).

`mlr3extralearners` lives on GitHub and will not be on CRAN.

You can install the package as follows:

```{r, eval = FALSE}
# latest GitHub release
pak::pak("mlr-org/mlr3extralearners@*release")

# development version
pak::pak("mlr-org/mlr3extralearners")
```

Alternatively, you can add the following to your .Rprofile, which allows you to install `mlr3extralearners` via `install.packages()`.

```{r, eval = FALSE}
# .Rprofile
options(repos = c(
  mlrorg = "https://mlr-org.r-universe.dev",
  CRAN = "https://cloud.r-project.org/"
))
```

## Quick Start

The package includes functionality for detecting if you have the required packages installed
to use a learner, and ships with the function `install_learner` which can install all required
learner dependencies.

```{r, echo=TRUE, eval = FALSE}
library(mlr3extralearners)
lrn("regr.gbm")
#> Warning: Package 'gbm' required but not installed for Learner 'regr.gbm'
#> : Gradient Boosting
#> * Model: -
#> * Parameters: keep.data=FALSE, n.cores=1
#> * Packages: mlr3, mlr3extralearners, gbm
#> * Predict Types:  [response]
#> * Feature Types: integer, numeric, factor, ordered
#> * Properties: importance, missings, weights

install_learners("regr.gbm")

learner <-lrn("regr.gbm")
learner
#> : Gradient Boosting
#> * Model: -
#> * Parameters: keep.data=FALSE, n.cores=1
#> * Packages: mlr3, mlr3extralearners, gbm
#> * Predict Types:  [response]
#> * Feature Types: integer, numeric, factor, ordered
#> * Properties: importance, missings, weights
```

```{r, echo = FALSE}
learner <- lrn("regr.gbm")
```

You can now use the learner to fit a model and make predictions.

```{r}
task <- tsk("california_housing")
task
split <- partition(task)
learner$train(task, split$train)
learner$predict(task, split$test)
```

You can learn more about using learners by [reading our book](https://mlr3book.mlr-org.com/chapters/chapter1/introduction_and_overview.html#mlr3-by-example).

## Extending mlr3extralearners

An in-depth tutorial on how to add learners can be found in the [package website](https://mlr3extralearners.mlr-org.com/articles/extending.html).

## Acknowledgements

This R package is developed as part of the [Mathematical Research Data Initiative](https://www.mardi4nfdi.de/about/mission).

Owner

  • Name: mlr-org
  • Login: mlr-org
  • Kind: organization
  • Location: Munich, Germany

JOSS Publication

mlr3extralearners: Expanding the mlr3 Ecosystem with Community-Driven Learner Integration
Published
November 17, 2025
Volume 10, Issue 115, Page 8331
Authors
Sebastian Fischer ORCID
Department of Statistics, LMU Munich, Germany, Munich Center for Machine Learning (MCML), Germany
John Zobolas ORCID
Department of Cancer Genetics, Institute for Cancer Research, Oslo University Hospital, Norway
Raphael Sonabend ORCID
OSPO Now
Marc Becker ORCID
Department of Statistics, LMU Munich, Germany, Munich Center for Machine Learning (MCML), Germany
Michel Lang ORCID
TU Dortmund University, Germany
Martin Binder
Department of Statistics, LMU Munich, Germany, Munich Center for Machine Learning (MCML), Germany
Lennart Schneider ORCID
Department of Statistics, LMU Munich, Germany, Munich Center for Machine Learning (MCML), Germany
Lukas Burk ORCID
Department of Statistics, LMU Munich, Germany, Munich Center for Machine Learning (MCML), Germany, Leibniz Institute for Prevention Research and Epidemiology (BIPS), Bremen, Germany, Faculty of Mathematics and Computer Science, University of Bremen, Germany
Patrick Schratz ORCID
devXY GmbH
Byron C. Jaeger ORCID
Wake Forest University School of Medicine, Department of Biostatistics and Data Science, Division of Public Health Sciences Winston-Salem, North Carolina
Stephen A. Lauer ORCID
Certilytics, Inc., 9200 Shelbyville Rd, Louisville, KY, 40222, USA
Lorenz A. Kapsner ORCID
Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU), Erlangen, Germany
Maximilian Mücke ORCID
Department of Statistics, LMU Munich, Germany
Zezhi Wang ORCID
Department of Statistics and Finance/International Institute of Finance, School of Management, University of Science and Technology of China, Hefei, Anhui, China
Damir Pulatov ORCID
University of North Carolina Wilmington
Keenan Ganz ORCID
School of Environmental and Forest Sciences, University of Washington, Seattle
Henri Funk ORCID
Munich Center for Machine Learning (MCML), Germany, Department of Geography, LMU Munich, Germany, Statistical Consulting Unit StaBLab, LMU Munich, Germany
Liana Harutyunyan
ServiceTitan, Inc., Glendale, California
Pierre Camilleri ORCID
multi, 8 passage Brûlon, 75012 PARIS, France
Philipp Kopper ORCID
Munich Center for Machine Learning (MCML), Germany
Andreas Bender ORCID
Department of Statistics, LMU Munich, Germany, Munich Center for Machine Learning (MCML), Germany
Baisu Zhou ORCID
Department of Computer Science, University of Tübingen
Niko German ORCID
Department of Statistics, LMU Munich, Germany
Lona Koers ORCID
Department of Statistics, LMU Munich, Germany
Anna Nazarova
Department of Statistics, LMU Munich, Germany
Bernd Bischl ORCID
Department of Statistics, LMU Munich, Germany, Munich Center for Machine Learning (MCML), Germany
Editor
Richard Littauer ORCID
Tags
machine learning community FAIR benchmarking

GitHub Events

Total
  • Create event: 56
  • Release event: 1
  • Issues event: 49
  • Watch event: 12
  • Delete event: 34
  • Member event: 2
  • Issue comment event: 88
  • Push event: 461
  • Pull request event: 90
  • Pull request review comment event: 110
  • Pull request review event: 59
  • Fork event: 10
Last Year
  • Create event: 52
  • Issues event: 43
  • Watch event: 11
  • Delete event: 32
  • Member event: 2
  • Issue comment event: 68
  • Push event: 446
  • Pull request review event: 52
  • Pull request review comment event: 106
  • Pull request event: 85
  • Fork event: 9

Committers

Last synced: 3 months ago

All Time
  • Total Commits: 1,227
  • Total Committers: 37
  • Avg Commits per committer: 33.162
  • Development Distribution Score (DDS): 0.593
Past Year
  • Commits: 106
  • Committers: 11
  • Avg Commits per committer: 9.636
  • Development Distribution Score (DDS): 0.726
Top Committers
Name Email Commits
Raphael Sonabend r****5@u****k 500
Sebastian Fischer s****r@g****m 309
Raphael Sonabend r****d@g****m 129
Pierre CAMILLERI p****i@b****r 41
GitHub Action a****n@g****m 36
be-marc m****r@p****e 35
John Zobolas b****n 33
Michel Lang m****g@g****m 24
AnnaNzrv 6****v 17
github-actions 4****] 17
salauer s****r@g****m 10
dependabot[bot] 4****] 8
Pierre Camilleri c****e@h****r 7
sumny l****h@w****e 7
Pierre Camilleri p****i@d****r 6
Maximilian Mücke m****n@g****m 6
Lukas Burk j****2 5
pat-s p****z@g****m 5
bszh b****u@o****m 4
jgr 3****d 4
Byron b****r@g****m 4
Lona 1****k 3
GitHub n****y@g****m 2
Sebastian Fischer s****6@w****e 2
vlegoff 1****f 1
mb706 m****6 1
bbayukari 4****i 1
Zhaolin Xu 9****l 1
Steven Pawley d****y@g****m 1
Nikolai German 1****n 1
and 7 more...
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 3 months ago

All Time
  • Total issues: 111
  • Total pull requests: 151
  • Average time to close issues: 6 months
  • Average time to close pull requests: 27 days
  • Total issue authors: 43
  • Total pull request authors: 27
  • Average comments per issue: 1.67
  • Average comments per pull request: 0.75
  • Merged pull requests: 95
  • Bot issues: 0
  • Bot pull requests: 14
Past Year
  • Issues: 24
  • Pull requests: 68
  • Average time to close issues: 12 days
  • Average time to close pull requests: 12 days
  • Issue authors: 13
  • Pull request authors: 12
  • Average comments per issue: 0.92
  • Average comments per pull request: 0.16
  • Merged pull requests: 34
  • Bot issues: 0
  • Bot pull requests: 5
Top Authors
Issue Authors
  • RaphaelS1 (29)
  • sebffischer (26)
  • bblodfon (8)
  • CodeYueXiong (2)
  • mb706 (2)
  • JaGarRod (2)
  • Vinnish-A (2)
  • bcjaeger (2)
  • GitHubGeniusOverlord (2)
  • agalecki (2)
  • jemus42 (2)
  • vviers (1)
  • pierrecamilleri (1)
  • invain1218 (1)
  • a-hanf (1)
Pull Request Authors
  • RaphaelS1 (32)
  • AnnaNzrv (17)
  • sebffischer (17)
  • be-marc (15)
  • dependabot[bot] (12)
  • bblodfon (10)
  • m-muecke (6)
  • mllg (6)
  • lona-k (6)
  • b-zhou (5)
  • jemus42 (3)
  • sumny (3)
  • JaGarRod (2)
  • github-actions[bot] (2)
  • agalecki (2)
Top Labels
Issue Labels
Learner Status: Request (19) Type: Maintenance (6) good first issue (5) Priority: Low (5) Learner Status: Bugs (4) workshop (3) Learner Status: Accepted (3) Status: Available (3) broken learner (3) Status: Accepted (2) Type: Documentation (2) Priority: Medium (2) help wanted (1) archived package (1) Learner Status: Deployed (1) Learner Status: Development (1) Type: Enhancement (1) Priority: High (1) documentation (1) Status: Blocked (1)
Pull Request Labels
dependencies (12) github_actions (1)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 58
proxy.golang.org: github.com/mlr-org/mlr3extralearners
  • Versions: 58
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.5%
Average: 5.7%
Dependent repos count: 5.9%
Last synced: 4 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.1.0 depends
  • R6 * imports
  • checkmate * imports
  • data.table * imports
  • methods * imports
  • mlr3 >= 0.13.1 imports
  • mlr3misc >= 0.9.4 imports
  • paradox * imports
  • C50 * suggests
  • CoxBoost * suggests
  • Cubist * suggests
  • FNN * suggests
  • LiblineaR * suggests
  • RWeka * suggests
  • actuar * suggests
  • apcluster * suggests
  • coin * suggests
  • curl * suggests
  • dbarts * suggests
  • distr6 * suggests
  • earth * suggests
  • flexsurv * suggests
  • formattable * suggests
  • gbm * suggests
  • glmnet * suggests
  • gss * suggests
  • jsonlite * suggests
  • keras >= 2.3.0 suggests
  • kernlab * suggests
  • ks * suggests
  • lightgbm >= 3.0.0 suggests
  • lme4 * suggests
  • locfit * suggests
  • logspline * suggests
  • mboost * suggests
  • mda * suggests
  • mgcv * suggests
  • mlr3cluster * suggests
  • mlr3learners >= 0.4.2 suggests
  • mlr3proba * suggests
  • mvtnorm * suggests
  • nnet * suggests
  • np * suggests
  • obliqueRSF * suggests
  • param6 * suggests
  • partykit * suggests
  • penalized * suggests
  • pendensity * suggests
  • plugdensity * suggests
  • pracma * suggests
  • pseudo * suggests
  • randomForest * suggests
  • randomForestSRC * suggests
  • ranger * suggests
  • remotes * suggests
  • reticulate >= 1.16 suggests
  • rvest * suggests
  • sandwich * suggests
  • set6 * suggests
  • sm * suggests
  • stats * suggests
  • survival * suggests
  • survivalmodels * suggests
  • survivalsvm * suggests
  • tensorflow >= 2.0.0 suggests
  • testthat * suggests
  • usethis * suggests
  • xgboost * suggests
.github/workflows/pkgdown.yml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/rcmdcheck.yml actions
  • actions/checkout v3 composite
  • mxschmitt/action-tmate v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite