• Stars
    star
    185
  • Rank 201,001 (Top 5 %)
  • Language
    R
  • License
    Other
  • Created over 10 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Toolbox for Bayesian Optimization and Model-Based Optimization in R

mlrMBO

Package website: mlrmbo.mlr-org.com

Model-based optimization with mlr.

tic CRAN_Status_Badge Coverage Status Monthly RStudio CRAN Downloads

Installation

We recommend to install the official release version:

install.packages("mlrMBO")

For experimental use you can install the latest development version:

remotes::install_github("mlr-org/mlrMBO")

Introduction

mlrMBO is a highly configurable R toolbox for model-based / Bayesian optimization of black-box functions.

Features:

  • EGO-type algorithms (Kriging with expected improvement) on purely numerical search spaces, see Jones et al. (1998)
  • Mixed search spaces with numerical, integer, categorical and subordinate parameters
  • Arbitrary parameter transformation allowing to optimize on, e.g., logscale
  • Optimization of noisy objective functions
  • Multi-Criteria optimization with approximated Pareto fronts
  • Parallelization through multi-point batch proposals
  • Parallelization on many parallel back-ends and clusters through batchtools and parallelMap

For the surrogate, mlrMBO allows any regression learner from mlr, including:

  • Kriging aka. Gaussian processes (i.e. DiceKriging)
  • random Forests (i.e. randomForest)
  • and many more…

Various infill criteria (aka. acquisition functions) are available:

  • Expected improvement (EI)
  • Upper/Lower confidence bound (LCB, aka. statistical lower or upper bound)
  • Augmented expected improvement (AEI)
  • Expected quantile improvement (EQI)
  • API for custom infill criteria

Objective functions are created with package smoof, which also offers many test functions for example runs or benchmarks.

Parameter spaces and initial designs are created with package ParamHelpers.

How to Cite

Please cite our arxiv paper (Preprint). You can get citation info via citation("mlrMBO") or copy the following BibTex entry:

@article{mlrMBO,
  title = {{{mlrMBO}}: {{A Modular Framework}} for {{Model}}-{{Based Optimization}} of {{Expensive Black}}-{{Box Functions}}},
  url = {https://arxiv.org/abs/1703.03373},
  shorttitle = {{{mlrMBO}}},
  archivePrefix = {arXiv},
  eprinttype = {arxiv},
  eprint = {1703.03373},
  primaryClass = {stat},
  author = {Bischl, Bernd and Richter, Jakob and Bossek, Jakob and Horn, Daniel and Thomas, Janek and Lang, Michel},
  date = {2017-03-09},
}

Some parts of the package were created as part of other publications. If you use these parts, please cite the relevant work appropriately:

More Repositories

1

mlr

Machine Learning in R
R
1,628
star
2

mlr3

mlr3: Machine Learning in R - next generation
R
879
star
3

mlr3book

Online version of Bischl, B., Sonabend, R., Kotthoff, L., & Lang, M. (Eds.). (2024). "Applied Machine Learning Using mlr3 in R". CRC Press.
TeX
241
star
4

mlr3pipelines

Dataflow Programming for Machine Learning in R
R
130
star
5

mlr3proba

Probabilistic Learning for mlr3
R
111
star
6

mlr3learners

Recommended learners for mlr3
R
87
star
7

mlr3extralearners

Extra learners for use in mlr3.
R
76
star
8

mlr-outreach

HTML
64
star
9

parallelMap

R package to interface some popular parallelization backends with a unified interface
R
57
star
10

mlr3tuning

Hyperparameter optimization package of the mlr3 ecosystem
R
51
star
11

mlr3spatiotempcv

Spatiotemporal resampling methods for mlr3
TeX
47
star
12

mlr3verse

Meta-package for installing/updating mlr3* packages.
R
45
star
13

mlr3spatial

Spatial objects within the mlr3 ecosystem
HTML
42
star
14

mlr3viz

Visualizations for mlr3
R
41
star
15

mlrCPO

Composable Preprocessing Operators for MLR
R
37
star
16

mlr3keras

Deep learning for mlr3
R
34
star
17

mcboost

Multi-Calibration & Multi-Accuracy Boosting for R
R
28
star
18

paradox

ParamHelpers Next Generation
R
27
star
19

ParamHelpers

Helpers for parameters in black-box optimization, tuning and machine learning.
R
25
star
20

mlr3mbo

Flexible Bayesian Optimization in R
R
23
star
21

mlr3gallery

Case studies using mlr3
HTML
21
star
22

mlr3db

Data Backends to let mlr3 work transparently with (remote) data bases
R
21
star
23

mlr3cluster

Cluster analysis for mlr3
R
19
star
24

mlr3fselect

Feature selection package of the mlr3 ecosystem.
R
19
star
25

mlr3filters

Filter-based feature selection for mlr3
R
19
star
26

bbotk

Black-box optimization framework for R.
R
19
star
27

mlr3-learndrake

Template for using mlr3 with drake
HTML
18
star
28

mlr3hyperband

Successive Halving and Hyperband in the mlr3 ecosystem
R
18
star
29

mlr3temporal

Forecasting for mlr3
HTML
18
star
30

mlr3torch

Deep learning framework for the mlr3 ecosystem based on torch
R
16
star
31

user2020

Material for the useR2020 tutorial
14
star
32

miesmuschel

Flexible Mixed Integer Evolutionary Strategies
R
14
star
33

mlr3fairness

mlr3 extension for Fairness in Machine Learning
HTML
13
star
34

mlr3benchmark

Analysis and tools for benchmarking in mlr3 and beyond.
R
12
star
35

mlr3tuningspaces

Collection of search spaces for hyperparameter optimization in the mlr3 ecosystem
R
12
star
36

farff

a faster arff parser
R
11
star
37

mlr3measures

Performance measures used in mlr3
R
11
star
38

mlr3cheatsheets

Cheat Sheets for mlr3 and Friends
HTML
11
star
39

mlr3misc

Miscellaneous helper functions for mlr3
R
10
star
40

mlr3website

The mlr3 quarto website and accomanying R package.
R
8
star
41

mlr-extralearner

R
8
star
42

mlr3survival

Survival analysis for mlr3
R
7
star
43

mlr3learners.template

Learner from package {<package>} for mlr3
R
5
star
44

mlr3batchmark

Connector between mlr3 and batchtools
R
5
star
45

mlr3docker

Docker Image for mlr3
Dockerfile
5
star
46

mlr3ordinal

Ordinal Regression for mlr3
R
5
star
47

mlr3multioutput

Multiple Targets for mlr3
R
4
star
48

mlr3-targets

R
4
star
49

rush

Parallel and distributed computing in R.
R
4
star
50

styler.mlr

{styler} mlr style guide
R
4
star
51

mlr3oml

Connect mlr3 with OpenML
R
4
star
52

mlr3fda

Functional Data Analysis for mlr3
R
3
star
53

mlr-web

HTML
3
star
54

mlr3automl

R
2
star
55

mlr3pkgdowntemplate

pkgdown template package for mlr* packages
SCSS
2
star
56

mlr3data

Data sets used in the book, gallery, or in examples of mlr3.
R
2
star
57

mlr-org-website

HTML
1
star
58

mlrcranlog

mlr-org cranlogs
R
1
star
59

mlr3summary

R
1
star