Bayesian Adaptive Direct Search (BADS) optimizer

Bayesian Adaptive Direct Search (BADS) optimization algorithm for model fitting

307 Downloads

Updated 9 May 2022

From GitHub

View License on GitHub

BADS is a novel, fast Bayesian optimization algorithm designed to solve difficult optimization problems, in particular related to fitting computational models (e.g., via maximum likelihood estimation). In our benchmarks with real model-fitting problems, BADS performed on par or better than many other common and state-of-the-art MATLAB optimizers, such as fminsearch, fmincon, and cmaes [1].

BADS is currently being used in many computational labs around the world, with more than a hundred citations and applications ranging from behavioral, cognitive, and computational neuroscience to engineering and economics.

BADS is recommended when no gradient information is available, and the objective function is non-analytical or noisy, for example evaluated through numerical approximation or via simulation. BADS requires no specific tuning and runs off-the-shelf like other built-in MATLAB optimizers such as fminsearch.

*** For extensive information, tutorials and documentation, please visit the GitHub page of the project: https://github.com/lacerbi/bads ***

If you are interested in estimating posterior distributions (i.e., uncertainty and error bars) over parameters, and not just point estimates, you might want to check out Variational Bayesian Monte Carlo (VBMC), a toolbox for Bayesian posterior and model inference which can be used in synergy with BADS: https://github.com/lacerbi/vbmc

Cite As

[1] Acerbi, L. & Ma, W. J. (2017). Practical Bayesian Optimization for Model Fitting with Bayesian Adaptive Direct Search. In Advances in Neural Information Processing Systems 30, pages 1834-1844.

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

acq

acq/private

gpdef

gpdef/private

gpml-matlab-v3.6-2015-07-07

gpml-matlab-v3.6-2015-07-07/cov

gpml-matlab-v3.6-2015-07-07/doc

gpml-matlab-v3.6-2015-07-07/inf

gpml-matlab-v3.6-2015-07-07/lik

gpml-matlab-v3.6-2015-07-07/mean

gpml-matlab-v3.6-2015-07-07/prior

gpml-matlab-v3.6-2015-07-07/util

gpml_fast

init

init/private

poll

poll/private

private

search

search/private

utils

utils/private

warp

Version Published Release Notes
1.0.8

See release notes for this release on GitHub: https://github.com/lacerbi/bads/releases/tag/v1.0.8

1.0.7

See release notes for this release on GitHub: https://github.com/lacerbi/bads/releases/tag/v1.0.7

1.0.6

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.