CRAN_Status_Badge Build Status Build status Coverage Status Monthly RStudio CRAN Downloads

Model-based optimization with mlr.


We reccomend to install the official release version:


For experimental use you can install the latest development version:



MBO demo
MBO demo

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


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.

mlrMBO - How to Cite and Citing Publications

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

  title = {{{mlrMBO}}: {{A Modular Framework}} for {{Model}}-{{Based Optimization}} of {{Expensive Black}}-{{Box Functions}}},
  url = {},
  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: