Learn R Programming

mlr3 (version 0.12.0)

mlr3-package: mlr3: Machine Learning in R - Next Generation

Description

logo

Efficient, object-oriented programming on the building blocks of machine learning. Provides 'R6' objects for tasks, learners, resamplings, and measures. The package is geared towards scalability and larger datasets by supporting parallelization and out-of-memory data-backends like databases. While 'mlr3' focuses on the core computational operations, add-on packages provide additional functionality.

Arguments

Learn mlr3

mlr3 extensions

  • Preprocessing and machine learning pipelines: mlr3pipelines

  • Analysis of benchmark experiments: mlr3benchmark

  • More classification and regression tasks: mlr3data

  • Connector to OpenML: mlr3oml

  • Solid selection of good classification and regression learners: mlr3learners

  • Even more learners: https://github.com/mlr-org/mlr3extralearners

  • Tuning of hyperparameters: mlr3tuning

  • Hyperband tuner: mlr3hyperband

  • Visualizations for many mlr3 objects: mlr3viz

  • Survival analysis and probabilistic regression: mlr3proba

  • Cluster analysis: mlr3cluster

  • Feature selection filters: mlr3filters

  • Feature selection wrappers: mlr3fselect

  • Interface to real (out-of-memory) data bases: mlr3db

  • Performance measures as plain functions: mlr3measures

Suggested packages

  • Parallelization framework: future

  • Progress bars: progressr

  • Encapsulated evaluation: evaluate, callr (external process)

Package Options

  • "mlr3.debug": If set to TRUE, parallelization via future is disabled to simplify debugging and provide more concise tracebacks. Note that results computed with debug mode enabled use a different seeding mechanism and are not reproducible.

  • "mlr3.allow_utf8_names": If set to TRUE, checks on the feature names are relaxed, allowing non-ascii characters in column names. This is an experimental and temporal option to pave the way for text analysis, and will likely be removed in a future version of the package. analysis.

References

Lang M, Binder M, Richter J, Schratz P, Pfisterer F, Coors S, Au Q, Casalicchio G, Kotthoff L, Bischl B (2019). “mlr3: A modern object-oriented machine learning framework in R.” Journal of Open Source Software. 10.21105/joss.01903, https://joss.theoj.org/papers/10.21105/joss.01903.

See Also

Useful links: